Help me to create List choice UI Action with Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2023 03:15 AM
Create a new UI action(List action) "Reset Task state for mass update" on the HR task table with "List choice" to "true" to display only to the users with "sn_hr_core.case_writer" role and current.state! = 3 (closed complete) and HR task type is "integration" and "Correlation ID" contains "PROCESSING FAILED" when clicked on the list action should display a confirmation pop-up when licked on "Ok" the set the below field values in the HR task
Task Type: Integration
HR Task state – ready
Assignment Group – empty
Correlation ID– empty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2023 09:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2023 09:54 PM
Yes I have added
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2023 10:18 PM
for list choice g_form object won't work
For your logic to work you need to get list of selected records using g_list.getChecked() and then use GlideRecord or GlideAjax to set the field values
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader