- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 10:00 PM
When change record state get changes to Schedule then Planned Start Date and Planned End should be mandatory and display warning message under planned end date field (Message: Please select start and end date).
Note: Using Client Script is the primary requirement or any other way around would be helpful. Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 10:28 PM - edited 02-29-2024 01:27 AM
Hello @Sirisha Snow ,
UI Policy is the efficient way for the above scenario instead of the client script.
You can create UI policy on the change request table as below and create UI policy actions to make these fields 'Planned start date, Planned end date' mandatory and write one line under script in Execute if true as below
Please mark this response as correct or helpful if it assisted you with your question.
Best Regards,
Rutuja Khalate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 10:36 PM
hi @Sirisha Snow
You can use UI Policy instead of client script,
Here are the steps might help you
open change form -> configure -> ui policies
Give below condition and script (if script field is not display go to advance view)
Save the changes -> Go down in ui policy action -> new
add the fields (Planned start date and Planned end date) & make them mandatory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 10:28 PM - edited 02-29-2024 01:27 AM
Hello @Sirisha Snow ,
UI Policy is the efficient way for the above scenario instead of the client script.
You can create UI policy on the change request table as below and create UI policy actions to make these fields 'Planned start date, Planned end date' mandatory and write one line under script in Execute if true as below
Please mark this response as correct or helpful if it assisted you with your question.
Best Regards,
Rutuja Khalate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 10:36 PM
hi @Sirisha Snow
You can use UI Policy instead of client script,
Here are the steps might help you
open change form -> configure -> ui policies
Give below condition and script (if script field is not display go to advance view)
Save the changes -> Go down in ui policy action -> new
add the fields (Planned start date and Planned end date) & make them mandatory