Using an Expression Parameter as a Connector Option

You can pass an expression parameter to an external application using a connector option.

You can enter an expression parameter to define the value of a connector option. The parameter can be any of the expressions described in Parameters and Expressions. For example, you could use a parameter expression to define the value of a density argument (${Density}) that is passed to an Abaqus/CAE Python script. In turn, the Python script uses the sys.argv function to retrieve the value of the expression from the command line.

import sys
density = float(sys.argv[0])

If you enter a parameter expression, Process Composer evaluates the expression and displays the result in the Connector Option page. See About Application Connectors for a description of connectors and connector options. If the expression in a connector option is invalid, the job will fail to run.