Jobs
Using jobs, it is possible to plan an execution of one or more activities at a specific moment.
The product for Jobs can be downloaded here.
In the Studio
Creating a Job definition
The job definition is a collection of job steps
On the homepage of the studio go to the platform tab, then to the jobs tab. Here the jobs definition cases can be made, edited and deleted.
Field | Description |
---|---|
Name | Name of the job definition |
Description | Description of the job definition |
Creating a Job step
The job step is a single activity that will be performed in the execution of the job.
In the job case on the tab steps a job step can be added.
A step needs a page, an activity on the page and an order number.
Input for the job step
Field | Description |
---|---|
Name | Name of the step |
Description | Description of the scooter |
Page | Page where the activity can be found |
Activity | Activity that will be executed |
Order | Order no. All steps in the job will be done in order. |
On the DTAP environment
When the product Jobs is imported into the studio and compiled or released to the DTAP environment the page "../page/platform/jobs " is available.
Creating a Job Schedule
On the jobs page go to the tab Job schedule. Here new schedules can be added, edited or deleted.
At this time we only support jobs of the type once and manual. A once schedule will be executed once on the given date and time. A manual job can always be started and will be executed immediately.
Field | Description |
---|---|
Name | Name of the schedule |
Execute type | Once or Manual. Recurring (will be added later) |
Execute date time | The moment that the job will be executed |
Execute frequency (will be added later) | The frequency when the job will recur after the first executed date time |
Creating a Job
On the jobs page there is a tab Jobs. Here is an overview of all jobs. A new job can be added, edited or deleted here.
When you click on a job in the grid all executions of the job will become visible.
Field | Description |
---|---|
Name | Name of the job |
Description | Description of the job |
Job definition | Job definition (collection of steps) that has been made on the studio |
Job schedule | The schedule that the job will follow. |
Enable Job | If this box is checked the job will start immediately when this activity is submitted. |
Starting a Job
A job can be executed by the button Execute job (next to edit button) in the grid. When the job is executed you have to select the first step.
A job has four possible status:
-
Planned: The job has been planned but not yet executed.
-
Running: The job is being executed.
-
Completed: The job is finished.
-
Error: Something went wrong during the execution of the job
-
Canceled: The job was canceled by a user during a run .