Configure a C# activity
Use the following procedure to configure a C# activity.
-
Add an activity to the map.
By default, the Configuration tab is open in the properties panel of the activity.
- Change the default Name of the activity to something meaningful.
-
On the
Type list, select
.
The default script appears in the rule editor.
-
Modify the existing template script or enter a new script. Right-click on the rule editor to use the process or server
variables in your script.
When you manually enter the variables, such as ["FirstName(Processvariable)"], or select a variable by right clicking on the rule editor, such as S1 (Process variable), for the script to be valid, you must insert the quotes around the variable. For example, ["Firstname"] or ["S1 (Process variable)"].
-
To ensure that the script is technically accurate, click
Validate.
A message appears to inform if the script is valid or contains errors. If errors occur, resolve the errors, and validate the script.
- Save the process map.