applicable to multiple items process

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
swiftinitpvtltd
Posts: 370
Joined: Sat Apr 28, 2018 3:33 am
Location: India
Contact:

applicable to multiple items process

Post by swiftinitpvtltd »

I have a process that is applicable to multiple items and we want another process to run only when process is complete for all items(applicable to multiple items checkbox). How do we do that?
PointsWell
Posts: 1457
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Re: applicable to multiple items process

Post by PointsWell »

Nested processes

Process 1
1.1 Call a process to do the multiple items processing
1.2 Call a process to act when all the multiples have completed

Process 1.1
FIND relevant BOs
1.1.1 Do the processing on the individual items

Process 1.2
Whatever you want to happen afterwards

If you have your decision tree mapped out correctly then the process 1 will drop down into process 1.1 find everything then loop through all of these BOs doing whatever processing is required in 1.2 (and any further lower levels required). Once the last BO has been processed then control will pass back to the top level process (1j and move onto 1.2

You could stage gate control process 1.2 from starting by making it conditional on something

For example
Process 1
CREATE TempBO with TempBO.Count =0
1.1 start process that receives TempBO
1.1.1 Find BO
1.1.2 start process that receives TempBO and FoundBO
1.1.2.1 Increment TempBO.Count=TempBO.Count+1

Process 1.2 can then be based on IF TempBO.Count>5 THEN start another process
Post Reply