You are viewing limited content. For full access, please sign in.

Question

Question

parallel approval

asked on October 7, 2018

Hi All,

I am working on Parallel approval process for lineitems in repository workflow.

For each lineitems (lineitem count is not constant), there is a different approval process.

When i use conditional parallel activity, i need to define how many line items as shown in the screenshot below.

 

 

Is there any way can i make this as variable ? in other words, if there are 10 lineitems then there should be 10 parallel lines executing automatically. Is this possible ?

 

Thanks in advance.

Rajah 

0 0

Replies

replied on October 8, 2018

Hi Rajah,

We need more information as to what is required in each activity in your parallel condition.  You would normally use a For Each activity for a table or something that could have variable lines or variable length.

0 0
replied on October 8, 2018

Hi Peter,

The workflow is given below.

If the invoice has 5 lineitems, then each line should be approved by different person and they no need to know the other line items which they are not approving. So, for each line we are creating a copy of the invoice and dropping it into the approver folder. whenever the lines are getting approved in the copy, in the original invoice we need to flag that line is approved.

 

Thank you 

Rajah

 

 

0 0
replied on October 8, 2018

If you had a table of approvers or a multi-value token containing approvers then you could assign them to each row depending on an index.  e.g. For Each line, set approver 1, set approver 2 .. depending on the For Each iteration.

This would depend on you having a table or multi-value token for your invoice lines.

0 0
replied on October 11, 2018

Hi Peter,

For each iteration, if i give wait for user action activity then it will wait for 1st manager to approve and then it will execute the next loop (next line). This will become sequential. am i right ? but user needs it to be parallel.

 

Kind Regards

Rajah 

0 0
replied on October 11, 2018

You are correct; it would be sequential.  You could put the For Next in a Repeat loop so it keeps checking to see if all approvals have been given.

So it waits for Approver 1 then loops and checks Approver 2 who may already have approved, then the next.  Eventually it will pass once all approvers have approved (I assume they changed a field).

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.