Interface: CompiledWorkflowOptions
client.CompiledWorkflowOptions
Hierarchy
-
WithCompiledWorkflowOptions
<WorkflowOptions
>↳
CompiledWorkflowOptions
Properties
args
• args: unknown
[]
cronSchedule
• Optional
cronSchedule: string
Optional cron schedule for Workflow. If a cron schedule is specified, the Workflow will run as a cron based on the schedule. The scheduling will be based on UTC time. The schedule for the next run only happens after the current run is completed/failed/timeout. If a RetryPolicy is also supplied, and the Workflow failed or timed out, the Workflow will be retried based on the retry policy. While the Workflow is retrying, it won't schedule its next run. If the next schedule is due while the Workflow is running (or retrying), then it will skip that schedule. Cron Workflow will not stop until it is terminated or cancelled (by returning temporal.CanceledError). https://crontab.guru/ is useful for testing your cron expressions.
Inherited from
WithCompiledWorkflowOptions.cronSchedule
followRuns
• Optional
followRuns: boolean
If set to true, instructs the client to follow the chain of execution before returning a Workflow's result.
Workflow execution is chained if the Workflow has a cron schedule or continues-as-new or configured to retry after failure or timeout.
Default
true
Inherited from
WithCompiledWorkflowOptions.followRuns