- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2022 12:33 PM
Hello,
I just want:
If user has closed completed a catalog task VIA ServiceNow THEN they should be required to enter EITHER worknote or additional comments.
- If user provides additional comments then worknotes are not required
- If user provides worknotes then additional comments are not required.
Solution: I was thinking to do this by client script but additional comments and worknotes label are not visible there, so i decided to create the Client Scrpt, but it also doesnt work. Cn anyone help?
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2022 01:35 PM
Hello,
I have tried another way, first i made both additional comments and work notes mandatory using UI policy,where condition is State is Close Complete.
Then I create two onChange client scripts separetely: one for Additional comments and one for work notes:
OnChange Client Script will looks like this where field will be Worknotes:
OnChange Client Script will looks like this where field will be Addtional Comments:
Hence, it worked. 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2022 01:35 PM
Hello,
I have tried another way, first i made both additional comments and work notes mandatory using UI policy,where condition is State is Close Complete.
Then I create two onChange client scripts separetely: one for Additional comments and one for work notes:
OnChange Client Script will looks like this where field will be Worknotes:
OnChange Client Script will looks like this where field will be Addtional Comments:
Hence, it worked. 🙂