All Products
Search
Document Center

Function Compute:TimeTriggerConfig

最終更新日:Sep 23, 2024
ParameterTypeDescriptionExample
object

The time trigger configurations.

payloadstring

The custom parameters. The trigger message is used as the value of the payload in 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.
  • You can also specify to trigger based on a cron expression, for 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 configured parameters do not take effect.
true