How to disable Approve/Reject in List choice?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2016 05:59 AM
Hi,
In change Request there is a Approver Related list,
When one of the approver approves the request, then In the drop down, it should disable the Approve/Reject choices
How this can be done?
1)
2)
Thanks,
Priyanka
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2016 06:01 AM
UI actions (including list choices) are enabled or disabled based on the condition in the UI action. Please look at the condition in those appropriate UI actions to ensure they are disabled based on your requirements.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2016 10:49 PM
Hi chuck,
I don't want disable completely,if any one of the record is Approved, It should get disable.
How can I get the list of related records to that particular change record in the script?
Please help me with the script if possible.
Thanks,
Priyanka.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2016 04:19 AM
Hi Priyanka,
This sounds like it may be better addressed via the workflow approval activity. If you want the others to be disabled when you get one approval, check the settings in that approval activity to say it is approved (or rejected) when the first person responds. Once that happens, the others change to "no longer required" and approve/reject are no longer valid on those approval records.
Based on your image, it appears there are two different approvals happening (one at 2:45 and one at 3:07). Since one of the 2:45 approvals was approved, it appears you need all approvers to approve before the workflow activity continues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2016 09:30 PM
If we do from workflow the ui action choice list(approve/reject) are always shown in the drop down.
Among the approval records of specific change request, if one approver is approved it should get disable.