ui action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2024 06:50 AM
The problem requires creating a UI Action in ServiceNow that automatically updates the status of a record in the vpm_activity_instance table based on changes made to the Achieved Date or Expiration Date fields. The status should be updated according to the following rules:
If both Achieved Date and Expiration Date are filled in and the current date falls between them, set the status to "Achieved".
If both Achieved Date and Expiration Date are filled in and the current date is after the Expiration Date, set the status to "Expired".
so i tried with ui action and business rule but not working
Please provide best approach
add a screenshot of the form below
@Ankur Bawiskar , @Dr Atul G- LNG , @Sandeep Rajput ,@Sandeep Dutta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2024 10:01 PM
Sorry mate, not in my scope.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2024 10:44 PM
so what did you try so far?
please share the script. it should be an easy one with GlideDateTime comparison
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader