- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 01:48 AM
Hi All,
I have created Ui policy in that future date should not allow , when i checked 31-7-2024 it is not allowing but when i selected 31-10-2024 it is allowing i do not future date only present date and past date should select .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 02:25 AM - edited 07-30-2024 03:06 AM
Hi @chandan31
I checked your scenario in my PDI it is working. please remove the alert message if any and try to put the after condition for you "work_start" field.
…………………………………………........................................................................................
Mark it helpful 👍and Accept Solution ✅!! If this helps you to understand.
…………………………………………........................................................................................
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 02:41 AM - edited 07-30-2024 02:44 AM
Hi @chandan31,
Change the logic slightly. You're triggering the code when something is not true and then executing on reverse. Simply execute on true as below.
I've tested and confirmed this using the 'resolved_at' field on the incident form. Simply follow the below and update the field name in your script to 'work_start'.
To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.
Thanks, Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 02:35 AM
Check the below link and configure same
Thanks
Sunil
Please mark correct/helpful, if it helps you in anyway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 02:41 AM - edited 07-30-2024 02:44 AM
Hi @chandan31,
Change the logic slightly. You're triggering the code when something is not true and then executing on reverse. Simply execute on true as below.
I've tested and confirmed this using the 'resolved_at' field on the incident form. Simply follow the below and update the field name in your script to 'work_start'.
To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.
Thanks, Robbie