User approval being skipped if second in line

raulron
Kilo Expert

Hi,

We have a requested item workflow with 2 sequential user approvals. The first is the direct manager of the requested for, and the second uses a script to pull out the right approver from a table we setup, considering some entries filled in the catalog item variable.

For some reason, if the first approver is found, when he approves, the second approval is always skipped.

If I remove the first approval from the WF, or if a direct manager is not found, than the second approval is triggered and work just fine. So there is no problem with the script itself not finding the right approver.

It is as if the WF is satisfied with only one of the first approvals and skipps the second one. Even though, they are on different user approval activities, and chained in order in the WF.

Has anyone ever encountered such a behaviour? Any ideas how to make the WF not skip the second approval?

Thanks in advance.

10 REPLIES 10

Hi,



Approvals don't have wait for completion. You have those on tasks. On approvals you can state when it will be considered as approved (wait for). anyone to approve, all to approve, etc. Anyway this definition is fine in the WF.



And to your second question, no, the 2 steps generate different approvers.



A real puzzle...


kevinanderson
Giga Guru

I had a similar issue with a workflow approval getting skipped when the approval is based off a group.   This was the second approval in a series, and after the first approval completed, the second was automatically skipped.   Make sure your group has the type attribute set (we used "access"), and / or has members assigned to the group.  


Kevin, my issue is the same as your's where my 2nd approval is getting skipped but its based off of a group instead of a user. How and where did you set attributes to get it to work??

 

Brandon

Sai Anna
ServiceNow Employee
ServiceNow Employee

@Raul Ron: Did you get this working? I have same issue in Helsinki, Please help us out


huntj06
Tera Guru

Did you get this fixed? I'm having the same issue in Helsinki. @Raul Ron