HomeGuides
Log In
Guides

Primeur Data One Workflow is the component providing workflow services powering the operational logic behind the definition of Contracts. This component is based on the BPMN Engine process flows.

The lifecycle of a workflow consists of 3 steps:

  1. Creation of a flow template. This steps consists in defining a sequence of operations that will be started whenever the defined trigger is fired. The creation of a flow template can require mandatory variables but it may also happen that no variables are required at all. Only the variables triggering an instance are mandatory.
  2. Creation of a Contract. The flow template must be associated to a Contract so that the variables operate the sequence of actions defined in the template. By creating multiple Contracts, the same template actions can be executed with different inputs.
  3. Interception of an event matching the trigger type and the values set in the Contract. A workflow starts an instance of the template and will be fed with all the variables configured when creating the Contract - plus some more variables that are injected in the instance itself depending on the selected trigger type.