what is the difference between List action and Form action?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 04:21 AM
Hi,
Under System UI --> UI Actions, there are two different records for 'Cancel Request' UI Action under which one record has List action value as 'true'
and other has 'false'. So, I would like to understand how the List action is different from Form action and what it does?
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 04:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 04:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 04:32 AM
Hi,
With reference to the snapshot you shared,
UI Action Cancel request with List action = true allows you to cancel a service catalog request from a list view.
UI Action Cancel request with Form action = true allows you to cancel a service catalog request from a form view.
Regards,
Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 04:41 AM
Hi,
Thank you for the quick response, I have one more question on the same lines. I assume cancelling a service catalog request from a list view or a form view must trigger the same logic underneath, right? But when I looked at the script, the Form action and List action are having different java scripts. Here is the script snapshot of script.
Form Action Script:
current.request_state = 'closed_cancelled';
current.stage = 'closed_complete';
current.update();
List Action Script:
current.request_state = 'closed_cancelled';
current.update();
new UIActionUtils().approvalsNoLongerRequired(current.sys_id);