
UML/BPMN Metamodel
A Script Task is executed by a business process engine. The modeler or implementer defines a script in a language that the engine can interpret. When the Task is ready to start, the engine will execute the script. When the script is completed, the Task will also be completed.

Figure 10 : BpmnScriptTask (architecture_autodiagram)
Attribute | Description |
---|---|
string ScriptLanguage [1..1] | Defines the script language. The script language MUST be provided if a
script is provided. |
string Script [1..1] | The modeler MAY include a script that can be run when the Task is performed.
If a script is not included, then the Task will act as the equivalent of an Abstract Task |