To change process data variables in your process, do the procedure in this topic.
Update Custom Attributes Screen
How to Start
- On the Organizer,
do one of these:
- Do one of these:
- Add an activity:
- In the Process Builder, in the Activity Library, open the Common tab.
- On the Common tab,
drag the Update Process Data
activity onto your process.
- Change an activity:
- In your process, double-click your activity.
- On the Update Custom Attributes screen, click Update Custom Attributes.
Procedure
- On the Update Custom Attributes screen, complete these fields.
Field Name |
Definition |
Process Data Variable
|
- Function:
- Specifies the name of the process data variable that stores the return
value for your code snippet.
- Accepted Values:
- A process attribute variable
- An XML process variable
- Default Value:
- None
- Accepts Process Data Variables:
- Yes
- Example:
- Process attribute variable - EmployeeName
- XML process variable - /pd:myFields/pd:empName
|
Expression
|
- Function:
- Specifies a value your code snippet gives the process data variable.
- Accepted Values:
- A C# code snippet. The following rules apply:
- You can specify simple expressions only. For example, assignment, call, increment, decrement, and new object expressions.
- The string value must be enclosed within the quotation marks. For example, "Name".
- You cannot leave the Expression field empty.
- Default Value:
- None
- Accepts Process Data Variables:
- Yes
- Example:
-
- "True"
- @"AP5\John; AP5\Bob; AP5\Lily; AP5\Fred";
|
- To validate your code, click Verify .