Group Approval should trigger to Specific user's from group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
14 hours ago
Hi All,
I got a requirement where I need to trigger the approval to specific users from group for change management when 'Request Approval' UI action is clicked.
To accomplish this, I have created a separate table 'u_approvals' with 1 list field named 'Level 1 Approvers' (referring to sysapproval_approver) and one reference field named 'Related Group' (refers to sys_user_group) where list field contains approvers and Reference type field contains Group name.
also, I have created a new field of Type True/False type on Change_request table so that whenever Ui action is clicked we will set this field value to True and created the business rule with below script to run when the value is set to True.
The approvals are getting triggered and User is also showing up on Approvers related list with Approver name but the group name is getting set(i.e., only Approver user is setting but not group).
Is there a way we can map the Group along with User in the Approval record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Don't let chatgpt do your solutioning. Look into change approval policies. And at the very least drop the custom tables for this.
There is no assignment group in your user approval as the assignment group is stored on the group approval record which you don't have (field in yellow highlight is sysapproval_approver.group.assignment_group). You can just add your l1 approvers into a separate group and create a group approval for that group and the user approvals will be created by the oob business rules.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
This requirement is not sound as it is attempting to circumvent system functionality. 'Request Approval' should generate approvals to the members of a group, as it does out of the box - not some members. A different group should be used if not every member should receive the approval.