Hi,
I wanted to have 2 starting events but continue in the same process instance. Ex: One user entering data and reviewing entered data. While happening these two steps, another user may upload multiple documents to the same job. But the Authorizer should receive the job once both paths are completed if there are documents uploaded. otherwise, the authorizer receives the entered data set.
seeking your expert support to model this.
Thanks in advance.
I tried the following workaround but was not a success. Parallel merge gateway before Authorize blog does not wait till all Doc upload tasks are completed when I push messages separately while the token is in Enter Data (2 messages) and Review Data (2 Messages). Token passes to Authorize blog when I complete only 2 tasks in Upload Doc. but I want it to wait till I complete all 4 Tasks.
PS: resolved by the following implementation. Please share if there is a better way to do this.
Hi Damith,
Could you please see if this model helps your purpose.
Hi Nandan,
Thanks for the solution. But in this case, the document can upload only once. Also, the timer boundary will not work for my scenario. If the document is uploaded, the process should wait till it gets completed without any time constraint.
Anyway, thanks for the reply.
Hi @Damith_Benaragama,
Using an event sub-process embedded into a sub-process containing the two tasks (enter data and review data) means that the event sub-process is available only while the containing sub-process is running.
Using a non-interrupting start event for the event sub-process allows for multiple uploads.
Hi @Damith_Benaragama,
If a # of required documents is defined then a process similar to below can serve your needs.
Kindly find attached a simplified running process (In case no documents are required then you can assign a zero to the variable required_docs
)
test_process.bpmn (9.4 KB)