Answered

List of entities for batch operation

Hello!

Do you have any idea on how to show a user a list of entities in a table given that the single entities are created using a different process? So ProcessA creates single entities and ProcessB has user task that shows these entities in a table to perform batch operations?

Real life example: Process A creates new invoices and sends them for approval. Process B is a batch approval process and has a user task where the invoices are listed in a table, allowing them to be checked or unchecked (approved or not). Based on the result of the user task, Process B sends messages to the instances of Process A (invoice is approved or rejected).

Thank you!

Best Answer
photo

Dear Zoltán,

According your question, it can be with collaboration where 2 processes will share messages. Please check this article:http://wiki.bizagi.com/en/index.php?title=Transmit_information_between_Processes_with_Process_Wizard

Regards

photo
0

Dear Zoltán,

According your question, it can be with collaboration where 2 processes will share messages. Please check this article:http://wiki.bizagi.com/en/index.php?title=Transmit_information_between_Processes_with_Process_Wizard

Regards

photo
0

Indeed it is a collaboration. Trivial. But the question was about "how to show a user a list of entities in a table given that the single entities are created using a different process?"

Attachcollectionitem does not work... they are not the same case. NewCollectionItem does not work as well because it copies the entity therefore creating new entries in the master entity table.

Really, what I need is a user task with a table that lists the entities created in another process. So, how to do it ?

Thanks.

photo
0

Dear Zoltán,

A user cannot access to a entity lists, but a process can access to info of another process. 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).

For further information: http://help.bizagi.com/bpmsuite/en/index.html?access_entities_not_related_to.htm

Regards