make some fields mandatory on particular catalog task while submitting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2023 06:10 AM
Hi everyone
I have two catalog tasks in my workflow.
these three fields are not mandatory on catalog.
these three fields should be mandatory before closing the last task by the agent.
i am trying this script but. task is not reverting to open if these three fields are empty then also
the RITM must also not complete if fields are empty
catalog client script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2023 06:25 AM
I would suggest do not change the state in client script. just return true or false based on your validations.
If you will return false, it will anyway not change the state and if you return true, it will allow you to submit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2023 08:01 AM
Tried "return false" , still form is getting submitted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2023 09:12 AM
Hi @tarun43 i was not getting the exact use with your above statement and code, can you please elaborate it.
Thanks & Regards,
Eswar Chappa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2023 09:02 PM
I have two catalog tasks.
I want three fields to be mandatory on the 2 nd catalog task and if those fields are not filled by agent then task should not get closed