Skip To Content

Dynamic job properties

You can use ArcGIS Arcade expressions to dynamically populate input values throughout your workflows. For example, you can use an Arcade expression to assign steps to specific users or groups based on the result of a previous step and send notification emails that contain job specific information. You can also configure the Run GP Service step to use the JobLocation Arcade expression as an input parameter that's replaced with the extent of the job's location when the step is run. Every input value that supports Arcade expressions appears with a This input supports Arcade Expressions button This input supports Arcade expressions that contains a list of expressions that can be added to its associated text box.

You can also use nested Arcade expressions to modify the output of other expressions. For example, you can use the following Text and Date functions to convert the output of the JobDueDate expression from epoch time to a more readable date format:

Text(Date(JobDueDate($Job)), 'dddd, MMMM D, Y')

If you need to combine plain text and Arcade expressions, you'll need to format the text as follows:

'Plain text' + ArcadeExpression() + 'plain text'

The following table contains an overview of the different categories of Workflow Manager specific Arcade expressions:

CategoryDescription

Job property functions

Retrieve job information managed by ArcGIS Workflow Manager.

Extended property functions

Retrieve custom business-specific information from extended properties tables.

Data management functions

Retrieve job data source and version information.

Location functions

Retrieve job location information.

Settings functions

Retrieve user-defined settings.

Workflow functions

Retrieve output values and past step assignment information.

Visit the ArcGIS Developer website for a complete list of Arcade functions and global variables.

Related topics