Creates a schedule for a workflow definition.
Dica
Number of schedules, and the minimum duration for a given schedule is defined at Workflow System Limits.
Input parameters
Parameter | Type | Required | Description |
|---|---|---|---|
| Object | Yes | The account scope. Contains |
| Object | Yes | The workflow definition to schedule. Contains |
| String | Yes | Cron expression defining the schedule frequency (e.g., |
| String | Yes | Timezone for the schedule (e.g., |
| Object | No | Optional configuration. Contains |
logLevel option
The logLevel option controls the amount of logging information generated during workflow execution.
Available values:
NONE(default): No log outputs will be generated.INFO: Outputs step level information.DEBUG: Adds attribute to the step started logs with all the action step inputs.
Sample request
Use the Query Builder to create and edit a workflow. See NerdGraph API explorer.
mutation { workflowAutomationCreateSchedule( scope: { id: "12345678", type: ACCOUNT } definition: { name: "healthyHeartbeat", version: 1 } cronExpression: "0 0 * * *" timezone: "Asia/Kolkata" options: { logLevel: DEBUG } ) { scheduleId }}