Workflow - Definitions, Instances [VF 21.3 IG]
VidiFlow often mentions "Workflows". When workflows are mentioned, these refer to BPMN processes designed by VidiFlow's Workflow Designer and executed by the Camunda process engine.
What is a Workflow Definition?
A workflow definition is the actual BPMN process definition. Please note that VidiFlow requires extensions to the standard BPMN definition, which are needed for correct deployment and execution. Therefore, a BPMN generated by a different BPMN editor other than Workflow Designer may not function as expected or at all. It is highly advised that users employ the Workflow Designer when creating workflow definitions.
What is a Workflow Instance?
A workflow instance is the individual and particular execution of a definition. The workflow instance contains concrete values for the parameters and has its own execution state.
What is a Rule Definition?
A rule definition is the result of creating a rule with VidiFlow's Rule Designer. The new rule being deployed into the system, can then be coupled with existing workflows.
When it comes to rules being designed by VidiFlow's Rule Designer, these are based on the same aspects affecting Camunda's DMN rules. For detailed information regarding Camunda's DMN rules, please view Camunda's documentation on https://camunda.com/dmn/.
What are the VidiFlow extensions to BPMN?
As mentioned before, VidiFlow extends the BPMN workflow definition with its own data. These are part of the so-called workflow contract (see Understanding VidiFlow Contracts). This contract defines - among others - the required, and optional, In- and Output parameters for a workflow which must also be part of the workflow definition to allow proper execution in VidiFlow.