1. Introduction to K2
K2 Black pearl is the core product of the process development platform built by SourceCode Based on. net wf. The Code supports generating WF code. The process design environment is built using WPF and fully embedded in VS 2008, which is closely integrated with Microsoft products.
K2 black pearl includes business process management and workflow performance. You can establish an application to manage and automate business processes, or integrate business processes, personnel, services, information, and systems into a single application to help drive business development.
2. Common objects in K2
1. DefaultActivity (a process node, which can be considered as a container of events, must contain at least one event)
2. Default Line (connection Line between nodes)
3. Default ClientEvent (client event used to interact with users)
4. Default ServerEvent (Code) (server-side event, Code block executed on the K2 server)
5. IPC Event (subprocess Event, start the configured subprocess)
6. Actions (the action set in Client Event ,)
7. OutComes (node output information, which is usually in a one-to-one relationship with Actions and can also be customized .)
8. Rules in the process node:
1. Preceding Rule (pre-Rule)
Preceding Rule is a logical expression. When the expression is true, a process node can start execution.
2. Start Rule (Start Rule)
Start Rule is a time Rule that indicates when a process task starts. For example, you can start the process task two hours after the process is initiated, or wait two hours to start the process task when the process variable is true.
3. Destination Rule (Executor Rules)
Used to specify who will execute the task.
4. Escalation Rule (expiration Rule)
If you want to complete some tasks within a certain period of time, for example, 8 hours, if the task is still not executed after 8 hours, we must perform some operations (for example, force the task to expire, or force the task to expire and flow the process to a process node.) in this case, we can define the task expiration rules. Expiration rules are used to specify when and how to perform such operations.
5. Succeeding Rule (post Rule)
Succeeding Rule is a logical expression. When it is true, a process node can complete the process.
6. Line Rule (execute Line rules)
Line Rule is a logical expression. When it is true, the process can enter the next node pointed to by this branch. It can be used with outcomes.