How to set only the future dates to variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2018 03:14 AM
Hi,
I have a field called "Expected order delivery date" , it means this date field should be made to select only today's and future days, its should be restricted to select the Past dates. How can i change this only for one catalog item variable to select the future dates.
Can someone please help me here.
- Labels:
-
Service Catalog
-
Service Portal
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2018 04:58 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2018 05:34 AM
i believe you are checking on portal.
have you set "Run scripts in UI type" to ALL.
if you go to your ui policy and check the tab "script" you will find that field (Run scripts in UI type) .
let me know if still it does not help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2018 05:44 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2018 06:21 AM
no need to mention anything in ui polcy action.
it should work. i also validated on my PDI and its giving me an alert on portal if i select the past date.
kindly try to see if any other script is restricting it. its should work perfectly

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2018 06:26 AM
can you change the data type variable to data/time type variable?
then it will work.