Activation policies

A workflow activation policy contains a monitoring rule that evaluates incoming Sync BODs, and a mapping feature to map BOD attributes to workflow parameters. Workflow instances are started, or canceled, when the rule is triggered. Only BODs from the same tenant as the activation policy are accepted.

If the activation policy is of the Start Workflow type, it starts a new workflow instance for each document received. In a default configuration, if a new instance of the same document is received, for which a workflow instance is still running, no new workflow instance is started. Optionally, you can choose to cancel the running workflow instance and let the activation policy start a new workflow instance based on the latest document data. When the workflow is completed, the activation policy sends a Process message for the same Noun as the incoming Sync message.

If the activation policy is of the Cancel Workflow type, it evaluates the document identification and cancels the workflow instance that is running for the same document. The evaluation is based on Noun Name, Document ID, Accounting Entity, and Location.