Help ELMA BPM Platform
×
Menu

Dynamic Swimlane (defined by script) Settings


A swimlane represents a user who performs the tasks placed in the swimlane.
In the Dynamic Swimlane (defined by script) a script defines the job position of the responsible user during the execution of the process instance. You write the script on the Scripts tab and specify it in the Script field of the swimlane. The script must assign a value to a variable (type user) specified in the Variable to define/store executor field. In the graphic model such swimlanes are blue (fig. 1).
Fig. 1. The Dynamic Swimlane (defined by script) in the process graphic model.

Common Tab

Fig. 2. The Dynamic Swimlane settings. The Common tab.
Fig. 3. The Common tab. Selecting a script.
If the existing process scripts are not suitable for defining the task executor, you can add a new script by clicking the Create button. Type a script name in the Add Script window (fig. 4), then click the Go to button. You will be redirected to the Script tab which contains all the process scripts. The Script Editor provides tools for writing scripts in C#, for example syntax highlighting, autocomplete (IntelliSense technology), links to assemblies and web services.
Fig. 4. Adding a script.

See also:
Copyright © 2006–2019 ELMA