All product information in wiki.bizagi.com is only valid for Bizagi BPM Suite 9.1.X.
For newer Bizagi BPM Suite versions (10.X and up) please visit the User Guide.
 

Scripting

From Business Process Management, BPM and Workflow Automation Wiki | BizAgi BPMS

Jump to: navigation, search

<keywords content="keywords"> script, java script, javascript </keywords>

Contents

Scripting

Bizagi provides this functionality to allow the inclusion and use of JavaScript code in any form of a process. The custom functions declared and included in the scripting window, may be then invoked from a User Field included in any form.

Including the script custom function

To include the code go to the standard Bizagi Studio menu, click on the Tools Options tab and click on the Scripting option.



A window is opened where the JavaScript code is written. For example it is possible to create a function that shows an information window with the text "The image was clicked."




Including the function invocation in a userfield

This function may then be called from a user field. This is an example of a user field which displays an image. When is clicked the script code in the function Test is executed.



On the web application this is how it would be seen:


Related Articles

<comments />