Business Rules in Workflows

Business rules can be used in workflows to control the flow logic, make automatic changes to the objects being tracked with the workflow, or to notify users of task assignments, etc.

Business conditions are used to define the transitions that are legal in the workflow. Conditions can be tested on transitions between States, allowing and/or preventing the transition from being performed.

Business actions can be executed when:

  • An object enters a state (On Entry)
  • An object leaves a state (On Exit)
  • A deadline is met and the deadline checker Background Process is run.
  • A transition is performed (On Transition)

For more details and an example, refer to the Business Rules and Workflows topic in the Workflows documentation here.

Additional information on using business rules in workflows, including detailed configuration instructions to accomplish specific use cases can be found throughout the Advanced Workflow Topics section of the Workflows documentation here.

The public Java API available from JavaScript-based business rules offers functionality specifically for working with workflow logic–primarily the WorkflowableNode, WorkflowInstance, WorkflowFunctionHome, Task, and Workflow interfaces. Using this functionality, however, requires in-depth knowledge about workflows.