--- alias: user-guide-automation-task-oib-getjoblist tags: - automation tasks description: "This task retrieves a job list based on a line full path" --- # Get Job List This task returns the Job List for a specific line. Can be used to then feed the GetJobDetails task with the job full path. Outputs an string array with json.stringify of the job full path. ![1562171137862](./images/getjoblist_parameters.png) ## Inputs | Name | Data Type | Description | |--------------|-----------|----------------------------------------------------| | lineFullPath | `string` | Line Full Path eg:"Virtual Lines\\Virtual Line 01" | | Activate | `Any` | Activate the task | ## Outputs | Name | Data Type | Description | | ------- | --------- | ------------------------------------------------ | | jobList[] | `Object` | Array of strings | | Success | `Boolean` | Triggered when the task is executed with success | | Error | `Error` | Triggered when the task failed for some reason | ## Settings On the `General` tab, you have the usual settings and the following settings: | Name | Data Type | Values | Default | Description | | ------------- | --------- | ------ | ------- | ------------------------------------------------------------ | | Auto Activate | `Boolean` | | `true` | On initializing the task, subscribes it to the Gate Keeper Messages. If false, only subscribes on Activate. | ![1562259678207](./images/getjoblist_settings.png) ## Behavior Call the Task with an OIB full Line Path and the task will send a command to the OIB SiplacePro, in the reply of the command there will be the information for the Job List. ## Remarks None.