[Index]

Model: data/AdhocWorkflow

AdhocWorkflow data model is used to record extra workflows that can be executed before and/or after any model type operation. When an instance is created an event is created before and after the said model type. This allow us to create extra workflow hooks into any model operation without the need to change existing logic.

Model Details: data/AdhocWorkflow

Title Description Details
Name * A descriptive name identifying the Feature or Functionality that will be executed.
  • Field Name: name
  • Type: String
Model type * The model type to create the Events on.
  • Field Name: model_type
  • Type: String
  • Format: uri
Operation * The operation to create the Events on.
  • Field Name: operation
  • Type: String
Active Active or not active. The default it true. When false the Events will still be executed but the defined workflows will be ignored. Default: (( True ))
  • Field Name: active
  • Type: Boolean
  • Default: (( True ))
Pre-process Workflows List of Pre-process workflows to execute.
  • Field Name: pre_workflows.[n]
  • Type: Array
Workflow name Name of the workflow to execute.
  • Field Name: pre_workflows.[n].workflow
  • Type: String
Workflow search scope The search scope to use to find the workflow. If not found the workflow will be ignored.
  • Field Name: pre_workflows.[n].scope
  • Type: String
  • Choices: ["up", "down", "local"]
Active Active or not.
  • Field Name: pre_workflows.[n].active
  • Type: Boolean
Post-process Workflows List of Post-process workflows to execute.
  • Field Name: post_workflows.[n]
  • Type: Array
Workflow Name of the workflow to execute.
  • Field Name: post_workflows.[n].workflow
  • Type: String
Workflow search scope The search scope to use to find the workflow. If not found the workflow will be ignored.
  • Field Name: post_workflows.[n].scope
  • Type: String
  • Choices: ["up", "down", "local"]
Active Active or not.
  • Field Name: post_workflows.[n].active
  • Type: Boolean