The following sections contain ArcGIS Arcade expressions that allow you to retrieve data reference information managed by ArcGIS Workflow Manager.
JobDataReferenceDetails
The JobDataReferenceDetails expression returns the details of a data reference associated with a job.
Parameters
JobDataReferenceDetails(job_id, data_reference_id)
Name | Explanation | Data type |
---|---|---|
job_id | The ID of the job. | String |
data_reference_id | The ID of the data reference configured with the workflow diagram. | String |
Output
Returns a string value of the data reference details associated with the specified job.
Expression sample
The following expression returns the details of the specified data reference associated with the current job.
JobDataReferenceDetails($job, 'ae457c8e-968b-43cf-a6e0-c531b8e8aa51')
{
"dataReferenceId": "ae457c8e-968b-43cf-a6e0-c531b8e8aa51",
"referenceType": "ProItem",
"itemName": "ProMap"
}
JobDataReferenceDetailsArray
The JobDataReferenceDetailsArray expression returns the details of all data references associated with a job.
Parameters
JobDataReferenceDetailsArray(job_id)
Name | Explanation | Data type |
---|---|---|
job_id | The ID of the job. | String |
Output
Returns an array of all the data references associated with a job.
Expression sample
The following expression returns the details of all data references associated with the current job.
JobDataReferenceDetailsArray($job)
[
{
"dataReferenceId": "ae457c8e-968b-43cf-a6e0-c531b8e8aa51",
"referenceType": "ProItem",
"itemName": "ProMap"
},
{
"dataReferenceId": "31fbc009-2fae-43d6-86b7-4c054508071b",
"referenceType": "ProItem",
"itemName": "Utility_Editing_task"
}
]