How to send approvals to the newly added users in the group

vellanki divya
Kilo Guru

Hi Team,

 

For a  RITM record  the approvals have are been  triggered via workflow,now the main problem is the users are recently added to the group and we need to send the approvals to them for the same record.

I have written a script and inserted the records in approvals table.But if the new users who have  added via script after rejecting there is no action taking place RITM

 

2 REPLIES 2

Siddhesh Gawade
Mega Sage
Mega Sage

Hello @vellanki divya , 

 

As per my knowledge I don't think it will work as the approval are already been generated through flow and it is pointing to the approvers which are available in group before sending the approval, and even if some how you managed to get it done. It is not a best practice.

 

So my suggestion will be, better to use recently added users for future submitted RITM's.

 

Kindly mark my answer as Correct and helpful based on the Impact.

Regards,

Siddhesh

Brad Bowman
Kilo Patron
Kilo Patron

I tried to trick this by creating a user approval via a script exactly like the Script Include that's called by the Business Rule when a group approval record is created that creates each user approval record, but got the same results you are seeing, so there's still something different about these records that causes another Business Rule to ignore them when one of these approvals is approved/rejected.  This is not something that will apply to already-submitted requested items, but the solution I've used in the past involves adding an Approval Coordinator to the workflow.  Child Activities are then added to the Approval Coordinator for the Group Approval and Manual Approvals.  Within the Approval Coordinator the Wait for and rejection actions apply to both child activities, so your scripted new user approvals would action the RITM/workflow on as expected when one is approved or rejected.