Creating a new case in Bizagi means creating a new instance of a specific process. By default, the number of the case/instance, also known as the CASE NUMBER, is maintained by the application using an internal sequence. Having this in place avoids any duplicity or any kind of errors.
During the development phase of the project, and sometimes in the Production environment, you find yourself in a situation when errors need to be traced. Or as I call it, you need to debug the application.
In Bizagi, the easiest way to debug is to use the Trace functionality. Now, this is a simple CHelper method where you have to pass 2 arguments:
CHelper.trace(string sFileName, string sText)
…where the sFileName is the name of the .txt file where the traces will be stored and the sText is the information to trace. It can be an attribute selected by a navigational XPath expression, a function, or a variable.
Have you ever wonder what is the proper way to cancel a case in Bizagi? When I first started working as a technical BPM consultant, I’ve learned to cancel the case using the following workflow pattern:
At the beginning of the process, you add a parallel gateway. One path takes the normal flow, while the other one goes into this cancel logic: an Intermediate event followed by a Terminate event.
Recently, I had to work on a more complex widget. The requirements were to have a custom questionnaire loaded into the Bizagi form. As you know, Bizagi doesn’t have a form control for that so I had to put my mind into building one.
The challenge came when I had to understand how the widget works with Bizagi. The documentation is not great, but with whatever I found on Bizagi’s website and the source code from all the available widgets, I managed to understand a little bit.
With this knowledge and all my JS previous experience, I cracked it.
Custom Bizagi widget
An organizational chart, also known as organigram, or organizational breakdown structure, is a diagram that displays the structure of a company and the relationships and relative ranks of its parts and positions.