Scripts are pieces of code written in C# that allow you to automate various stages of a business process. For more information on scripts, see the Scripts page.
To open the settings window of a Script activity, double-click on it in the graphic model or select the Settings option of the element's context menu.
Common tab
Fig. 1. Script activity settings. Common tab.
Name — Activity name that a user will see in the graphic model, process documentation, policies and in the header of the settings window. The name is also shown on the transition button in Web Application if the incoming connector name is not specified in the graphic model.
Click the button to go to the selected script. All the process scripts are available on the Scripts tab of the process page. This tab also features script-writing tools, such as syntax highlighting, IntellISence auto-complete technology, and links to assemblies and web services.
Scripts – in this field you can specify the function that must be executed once the process flow reaches the current activity.
If this function hasn't been specified earlier, you can add it by clicking (). The Add Script form will open (fig. 3).