Skip to Content
author's profile photo Former Member
Former Member

global Data Object or any global container for referenced subprocesses?

Hi Guys,

I have an existing DC with multiple processes in which one is a main process and others are referenced sub-processes.

Only one sub-process is called per instance based on a gateway condition.

I now have to enhance the webservice, which calls the BPM, with an extra field. This field data is required only within each sub-process.

The DO in main flow which holds this field data is not visible to the referenced sub-processes. The start activity schema of each sub-process is different. I now have to enhance all the sub-process schema (we are talking 5 here) and a main schema just to pass one value into each sub-process and then perform input mapping from main into each sub-process for this new field.

Instead, I am looking for a data container that is visible even to referenced sub-processes thereby not touching schema of sub-processes but only main process.

Hope you got my query 😊

Thanks,

Sudeep

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Aug 18, 2016 at 05:18 AM

    Hi Sudeep,

    AFAIK, the parent and referenced sub-process communicate via the input/output mappings as in the case of activities. So, the data has to flow through the input data object of the sub-process.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 18, 2016 at 07:49 AM

    You could only persist your data in custom data model. JPA / CAF and then query / update your data as you like. You can take the PID of your master process as key for your dataobject table.

    In BPM framework itself, there are no global DOs which can be accessed from anywhere.

    Regards,

    Tobias

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.