All Products
Search
Document Center

Function Compute (2.0):TimeTriggerConfig

Last Updated:Mar 03, 2024
ParameterTypeDescriptionExample
object

The configuration of the time trigger.

payloadstring

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

{\"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: Example: 0 0 4 * * *.
“0 0 4 * * *”
enableboolean

Specifies whether to enable the trigger.

  • true: enables the trigger.
  • false: does not enable the trigger. In this case, the configurations do not take effect.
true