- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024 10:18 PM
Hi,
I have catalog item with 2 variables i.e. Start Date and End Date .
From this item, I have 2 reqs. as below:
1. New variable var1 (radio button) should be populated as success if Task creation date is 5 days before Start Date else failure.
2. New Variable var2 should be populated as success if var1 is success and Task closed date is before End Date else failure.
please let me know how shall we implement this if it's feasible to do .
thanks,
Vivek
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024 11:16 PM
Hi @vivek72 you can create 2 client scripts on request table like below
1. Create a on Load client script to set start date for success/failure
Harish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2024 01:33 AM
Hi @vivek72 yes you can put condition in your onLoad script to run only for this catalog and with condition state = closed so that it will not run for other request.
If my solution helped you please hit like and accept my solution .
Harish