Answered

How to pass information between processes in order to start the event and the event of another process?

In the project I work on, when a process "A" end process "B" starts.

The process "B" need of information contained in process "A". How can I pass this information to process "B"?

Best Answer
photo

Dear Djalma,

You can access to any data process through CEntityManager fuction.

It is a common requirement to access Parameter and System entities that are not related to the data model, in order to extract information for use in XPath expressions.In such cases, where the entities cannot be accessed directly through XPath navigation, the EntityManager functions are employed. The information returned by EntityManager is handled as a collection of items. You will then need to iterate over the collection to access specific information (i.e. the item values). NoteIt is very important to understand that EntityManager should only be used to get and work with entities that are not related to the case and that CANNOT be accessed directly surfing the data model with XPath. The following is the syntax of the EntityManager function:

CEntityManager.GetEntity("Entity").GetEntityList("Attribute","Filter","Search","Order");For further information: http://help.bizagi.com/bpmsuite/en/index.html?access_entities_not_related_to.htmRegards

photo
0

Dear Djalma,

You can access to any data process through CEntityManager fuction.

It is a common requirement to access Parameter and System entities that are not related to the data model, in order to extract information for use in XPath expressions.In such cases, where the entities cannot be accessed directly through XPath navigation, the EntityManager functions are employed. The information returned by EntityManager is handled as a collection of items. You will then need to iterate over the collection to access specific information (i.e. the item values). NoteIt is very important to understand that EntityManager should only be used to get and work with entities that are not related to the case and that CANNOT be accessed directly surfing the data model with XPath. The following is the syntax of the EntityManager function:

CEntityManager.GetEntity("Entity").GetEntityList("Attribute","Filter","Search","Order");For further information: http://help.bizagi.com/bpmsuite/en/index.html?access_entities_not_related_to.htmRegards

photo
0

Dear Juan,

thank you very much for your attention, but my problem is more specific.

It is very important for me to identify the process instance "A" that triggered the event that created the "B" process. Is this possible?

Best regards,

photo
0

Dear Djalma,

Maybe you are talking to access to the Parent Process information from the Sub-Process context. It is possible to navigate from the Process entity of the Multiple Sub-Process to the Parent Process.

Please check this article: http://help.bizagi.com/bpmsuite/en/index.html?access_to_the_parent_process_i.htm

Regards