Ana CSequeira's picture

Hello, I am trying to create a participant/another pool with a script and use a message to connect it to a regular start event of a BPMN.

My goal is to run this script on BPMN models and make them more complete like this:

i am trying to use the function:

                     var poolNova = oGroup.CreateObjDef(Constants.OT_BPMN_POOL, "Pool Nova", num); 
                     var newPool = oModel.createObjOcc(Constants.ST_BPMN_POOL, poolNova , 1,1, true);

I run this and i see the "Pool Nova" getting created but I don't see any diference in the BPMN graphic

How can I do this?