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-25-2023 04:06 AM
Seems straight forward
What did you start with and where are you stuck?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2023 06:36 AM
I Have implemented but it is not working, as it is not updating the HR task record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2023 06:57 AM
Hi @Deactivate User ,
The function name should be resetTask(), and can you show me your above configurations of ui action. Also send me your code in test formate.
Regards,
Shivangi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2023 01:24 AM - edited ‎08-26-2023 01:34 AM
Please check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2023 01:25 AM
 
 Please check