For analysts with programming skills, Contentum Designer provides the opportunity to work with the Script activity. Scripts allow executing C# codes at the corresponding stage of a business process.
First, scripts optimize a process and automatically performs actions that employees had to previously perform manually. These actions are typically: Calculating parameter values according to other parameters; filling in forms; making decisions about where the process goes next, etc.
Second, with scripts, you can perform specific actions that cannot be completed by using standard Contentum activities. They are usually needed for a specific business process; for example, a process of integration with an external system.
Contentum Designer has a friendly environment for writing program code – Syntax highlighting, prompts and a list of possible choices that appear when typing (this is handy when working with objects, their properties and methods), word completion, etc.
After code is written, it should be debugged – Contentum Designer has code syntax check and emulation tools to complete the debugging procedure. You can save scripts to the Custom Activity format and then use it as any other Contentum activity.
To use custom activities, analysts drag and drop them to the work area. This simple solution saves time and does not require programming
Visual Script Builder
To make it easier for analysts unfamiliar with programming, Contentum BPM introduced the visual editor for creating Scripts.
In Contentum Visual Editor, conditional and loop statements display as ready-to-use blocks with an intuitive design. By clicking, you can add variables, create new objects and display Contentum API methods.
Although no coding is directly involved, Visual Editor has a special mode that allows you to view code that is generated according to the template.