Trigger types for input contracts

On Demand trigger

The On Demand trigger is triggered by a direct API invocation via REST, specifically the Job Manager Submit API. πŸš€ See the Job Manager APIs page.

This API accepts a map of variables that will be passed to the instance as process variables. Any variables explicitly declared in the template to be requested during the creation of the Contract are added to the set of variables from the REST invocation. If a variable name is used both during Contract creation and in the map passed via REST, the latter wins over the Contract's variable name.

The On Demand trigger is initiated through a direct API call using the Job Manager Submit API. See the Job Manager APIs page for more details.

  • Trigger Behavior: The API accepts a map of variables to be sent to the instance as process variables. Any variables explicitly requested during Contract creation are merged with the variables sent via the REST API. If a variable name is used in both contexts, the API’s variable overrides the Contract's definition.

Time Trigger

Time-based actions are executed at specific times, like daily at 6 a.m. When the designated time is reached, the workflow rule reassesses the record to verify that it still meets the rule criteria. If it does, the workflow rule performs the specified actions.

  • Trigger Requirements: A cron expression is needed. The workflow instance starts when the time specified in the cron expression matches the current time. No additional variables are introduced to the workflow instance.

Contract Variables:

  • cronExpression - required

    • Type: plain text [STRING]

    • Example: * * * _ ? _

  • systemEnableLogDebugToFile - optional

    • Type: Enabled/Disabled [BOOLEAN]

  • systemErrorHandlingWorkflowTemplateName - optional

    • Type: Enabled/Disabled [BOOLEAN]

  • jobManagerPriorityQueueName - required

    • Type: WUI custom [QUEUE]

    • Default: Default Queue

  • systemWorkflowInstanceSingletonMode - optional

    • Type: Enabled/Disabled [BOOLEAN]

Additional variables:

  • contractNameThisInstanceBelongsTo

    • Type: plain text [STRING]

    • Example: ContractName

  • templateNameThisInstanceBelongsTo

    • Type: plain text [STRING]

    • Example: TemplateName

  • centralLogCorrelationId

    • Type: plain text [STRING]

    • Example: d90fef7b-1517-4ad6-b836-18b6b4645be7:0

Last updated