- 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: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:33 AM
If i select back to back past date it is working but if i select back to future date it is not working .
if i move past to future date than it is working .
Thanks and Regards,
Chandan Patra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 02:37 AM
Reverse it: date_field after today, if true, clearValue. The 'if false' probably checks what happens if it changes from being true to false.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 02:26 AM
Reverse it: date_field after today, if true, clearValue. The 'if false' probably checks what happens if it changes from being true to false.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark