Skip to content

Create Job#

The task Create Job is a Task that allows the creation of Factory Automation jobs.

createjob_parameters

Inputs#

Name Data Type Values Description
job AutomationJob job to create
jobAutomationController AutomationController automation controller to execute
jobAutomationControllerId string id of the automation controller to execute
jobName string name of the job to create
jobType string type of the job to create
jobData Object input data for the job to create
wait boolean whether the task should wait for the job to end (child job) or not
Activate Any Activates the task execution

Outputs#

Name Data Type Values Description
jobId string id of the created job
jobResults Object Results of the job
Success Boolean If there was no problem emits a true
Error Error Error that occurred during the processing of this task

Settings#

On the General Tab, you have the usual settings and the following options settings:

Name Data Type Values Default Description
Job Name string name of the job to create
Job Type string type of job to create. Possible values retrieved from the AutomationJobType Lookup Table.
Automation Controller Automation Controller Controller to handle the operation
Wait for Job to Complete boolean Whether the task should wait for the job to finish
Auto generate Inputs and Outputs boolean Whether the task settings should auto generate inputs and outputs

createjob_settings_step_one

Additional inputs can be defined in the Inputs tab:

createjob_settings_step_two

Behavior#

The Task can block waiting for the job to execute (child job) by setting wait to true. Dynamic inputs are used to provide additional data to the job.

Remarks#

None.