Job

Use to create a scheduled or one-off job in Sanbox

The Job Node allows you to create a job in Sanbox that can run on a schedule or on demand with the Run Job Node. Job Workflows differ from other Workflows in that they do not have an End Node and instead end when all execution paths have completed.

Configuration

Running on a Schedule

Checking Run On Schedule will cause your Job to run on a set schedule. Your Job will be placed on the schedule when you save the workflow and the workflow is valid.

You can configure how often your Job Workflow will run with a Simple occurrence where you simply specify a interval of time, or for more advance scheduling - you can specify a Cron Expression.

When you save a Job Workflow that is valid with Run On Schedule checked - the Runtime will reset the last time the Workflow is ran, and wait the exact time you scheduled to run again.

Multiple Instances

Normally, the Runtime will ensure that only one instance of your job is running at a time. If for example, you schedule a job to run every hour and it doesn't complete within the hour - the Runtime will skip the next scheduled instance and try again next time the Workflow is scheduled. By checking Allow Multiple Instances, a new instance of the job will be created regardless if it has yet to be completed.

Running a job through a Run Job Node will ignore the multiple instance setting.

Runtime Configuration

There are a few configuration settings regarding Jobs for the Runtime, including a setting indicating whether jobs are enabled. Visit the Runtime Configuration Page for details.

Cron Expressions

You can specify a complex schedule using a Cron Expression with a specified time zone. Clicking Calculate Next Run Time button will parse your expression and display in the Next Run Time field when the job would be scheduled in the time zone of your machine running Sanbox Designer. Remember, that the Next Run Time stamp is calculated as though the job was scheduled that very moment; not the actual time it may run in the Runtime.