All Products
Search
Document Center

TimeTriggerConfig

Last Updated: May 31, 2022
nameTypes ofdescribeexample value
object

The configuration of the time trigger.

payloadstring

Enter custom parameters. The trigger message is used as the value of payload in the event.

{\"workflowInstanceId\":\"39639\"}
cronExpressionstring

The trigger period expression. Two types of expressions are supported:

  • Trigger based on time intervals: For example, the expression @every 4m indicates that the triggering is performed every four minutes.
  • Trigger based on CRON expressions: Common format: 0 0 4 * * *.
“0 0 4 * * *”
enableboolean

Specifies whether to enable the trigger.

  • true: enables the trigger.
  • false: disables the trigger. In this case, the configuration parameters does not take effect.
true