communicating between process

1
0
-1

Thanks for reading and at least trying to help

I have some difficulties to work with two process.

The first has a task which 'lock' the process while 'things' are not done in the second.

The second do some validation things and then I try to :

  • update business data in the first process
  • end the 'waiting' task
  • make the first process continue to next task regarding the validation done by the second

I try to do this with Apiaccessor in a groovy script

2 answers

1
0
-1

I've already though about it but that will not fit to my needs.

To avoid having a part of the first process waiting for a signal, Process 2 need to directly acces data in Process 1.

I managed to drive the state of a task but changing process data variable stay unsuccessful.

I tried with :
apiAccessor.getProcessAPI().updateProcessDataInstance("", myProcessInstanceID, "");

1
0
-1

Have you looked at using signal events? Process 1 can include an intermediate catch signal event, so it waits until it receives the signal. Process 2 can throw the signal when it's done.

It's easy to define in the Studio, but I don't know abou the APIs.

Notifications