Is there a way to automate Function numbering when creating a process diagram?
In my case is BPMN 2.
Thanks
Francisco
Is there a way to automate Function numbering when creating a process diagram?
In my case is BPMN 2.
Thanks
Francisco
Hi Francisco,
Those things are typically done with custom reports.
Best,
Veronika
Hello Francisco,
Veronika is right that you can write a script. But what is the use case? How should it work? Numbering from left to right? Always rerun the script when there is a change in the tasks sequence? In any case you should use a custom attribute for that and not the name of the task. Using the name you can no longer reuse objects based on the repository.
Regards
Klemens
Hi,
It is a very common use case, and usually, there are two algorithms: or, as you mentioned, is a horizontal numbering. Or are there two loops in sorting - first, you get branches and sort activities between events/gateways; second, you sort branches. Usually, it looks perfect. The key idea of this approach is that when you add an activity somewhere in the middle of the process, you can quickly re-code all activities that follow. Codes themselves, even if they are not extremely perfect, help you to refer to activity within different reports, e.g. SOP.
Usually, we use a standard attribute Processing code. It is not necessary to create a custom attribute for this purpose.
I fully agree with what Klemens said. If you use activities for the the numbering, then this will prevent you from using them as occurrence copy in other models. If you want to do an export, e.g. word file, we have implemented it a bit differently than Alexander. The script basically creates a definition copy of the model adds numbers to a custom attribute (which are then also placed) from left top to right bottom. Then, "exports" the diagram and the and the numbers as a graphic to the word document. In addition we have an activity table that also uses the same numbers for the activities and provides the description of all the activities. The definition copy is needed as published content shall not be altered. Hope this gives you some helpful ideas.
Best,
Veronika