- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2022 01:22 PM
Good afternoon,
I have a request to prevent a change request from closing until a final approval from the assignment group's manager comes through in the Review State.
I think this will be a "before" business rule when the State changes to Close but does anyone have a script or can help me write a script to check for approvals before the change request is closed?
Best regards,
cnharris
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2022 06:39 AM
Thanks Ashish!
I was able to prevent change requests from closing by writing a before business rule on an Update when the Approval is not Requested and the State changes to Close. After that I'm just aborting the action until manager's approval.
Thanks again for your help!
Best regards,
Corey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2022 07:39 AM
Good to know that you manage to restrict the update access.
However such restriction should be applied at client level or via ACL, writing the BR and allowing user to EDIT the state [ in Review ] state will unnecessary operation on the table record.
I see you marked your reply as correct answer which will not give any credit point to your profile.
Thanks,
Ashish
Please mark correct answer and helpful for other if it helps you
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2022 09:01 AM
Yeah I marked it as correct because it solved the particular issue I was facing and it could maybe help someone else in the future if they are facing a similar issue.
I'm not worried about points to get credit for my profile. I'm here help others if I can or to get help from professionals who have faced similar issues.
Thanks again!
Corey