Task elements are the Workhorse of the Workflow. We add our custom code mostly to Tasks.
There are many “Kind” of Tasks in BPMN. We implemented
These will be all be treated equally. This is just for visual reference.
The only Exception is the Script Task.
To add code, you have 2 possibilities.
The Content of the Script Task (Documentation) will be used as Filename. The BPMN Load will try to load a File with this name and include the content of that File as Code
The Text Annotation can be attached to the Task and you may enter your code into the Text Annotation.
In Ingrid modeler you can open the Documentation of Task with Shift + Left Click. It will open a new Tab with the Documentation Part of the Element in it.