25.1.7.1 Creating a Workflow Parameter

Create workflow parameters with meaningful static IDs for start-time values.

Create a parameter using the Create Parameter option on the workflow's context menu in the Workflows tree. If a parameter already exists, the same option appears on the Parameters header in the tree. For each parameter you create, use the Property Editor to choose a data type and assign it a meaningful Static ID. While not required, using a parameter static ID that starts with a prefix like P_ can help you distinguish parameter names from Additional Data column names and from workflow variable names. You use the parameter's static ID to reference its value as a bind variable :P_YOUR_STATIC_ID in code or queries, &P_YOUR_STATIC_ID. in substitutions, and P_YOUR_STATIC_ID in activity properties requiring an item name.

Tip:

The parameter Label you define is the friendly description that appears in the workflow detail page when a user inspects a workflow instance.