Workflow activity "Approval - group" is creating approvals for Inactive users in group

venkat101
Tera Guru

Hi,

I have an issue where workflow activity "Approval - group" is creating approvals for inactive users in the group. Can you tell me is that the default behavior ?

few days ago - activity did not create approvals for inactive users in group.

current issue - activity did create approvals for inactive users in group(no change in workflow).

1 ACCEPTED SOLUTION

Yes, as per the link. You may log a HI case as welll.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

9 REPLIES 9

Robbie
Kilo Patron
Kilo Patron

Hi @venkat101,

 

I haven't looked at this for a while so am surprised this is still a thing. Have any recent changes been implemented between when you believe it was working as expected until now? I'll have another look to see if this is controlled by a system property or similar but off the top of my head you could create a before insert business rule on the 'sysapproval_approver' table similar to the below:

 

To help others, please mark correct and/or helpful.

 

Thanks,

Robbie

 

Condition: current.approver.active.toString() == 'false'

Script:

(function executeRule(current, previous /*null when async*/) {

    // Add your code here

current.setAbortAction(true);

})(current, previous);

 

No, i dont have any changes related to this.

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @venkat101 

 

Please check any recent changes done on sysapproval table or any BR or ACL?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

I dont see any new additions or changes to sysapproval table. Most recent is any year ago.