cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic Approval in the next steps

Former Member
0 Kudos

Dear,

We have our own workflow to purchase requisition approval and we need to improve it.

The wf gets in HR struture the person who needs to approval the document based on the initiator.

Considering that the strategy needs an approval of controller and manager.

So, we have one wf to controller and when it is finished then start another wf to the manager.

However, sometimes the position controller and manager are the some person (Luis) and he doesnt want to approval again.

Does someone face it?

How can we approval automatically the next wf and release the document?

Thanks in advanced,

Selma

Accepted Solutions (0)

Answers (2)

Answers (2)

imthiaz_ahmed
Active Contributor
0 Kudos

Two options:

1. The approver can release both the codes at the same time within ME59N since he should having the authorization.

2. Put a condition in the WF to check a flag. The flag should be set by a background task by checking if two consecutive release codes has same approvers, then set a flag. This step should be the first in the WF.If the flag is set then create a background task to release the next code.

Hope it helps.

Regards, IA

Former Member
0 Kudos

Hi Selma,

I think the issue can be resolved this way let's say : The work item be triggered to the same user again in that raise a deadline for 1 minute. Compare the list of 1st approver to that of next approver( Present approver ) in the hierarchy by saving the value in the Custom table with PR no along with the approver name. Then in that Modelled deadline call the method to determine the Boolean True or False. If true u manually approve the PR calling the same method that you are using to approve though the user decision. IF False do nothing.In the final step of deadline use process obselte to change the status of work item to Complete.

I think this is a wide process helps to solve the issue without escalating but not sure .

If you get updated with simple answer please help every one know.

Thanks and Regards,

Krishna Mukthineni