Client script that will work for all tables extedned from task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 07:56 AM
I created a client script that calls a script include to check the status of users and display it on the incident form. and display a field message.
according to the task this needs to happen on request (RITM, Catalog task Interaction and service operations workspace.)
what is the best way to solution this task?
i will post the client script and script include below. that produces a field message.
any help would be appreciated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 08:03 AM
Hi,
For this I think you should implement it the same way as the VIP flag on caller works.
using Field Styles on the dictionary like below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 08:09 AM
For this particular issue there are 2 other categories to identify the status of users as well as the request to have a label and not a flag used.
do you have a suggestion on how to apply field message to the RITM and catalog task?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 08:13 AM
in that case I would suggest have a Display BR that checks all the criteria (user + Task) and sets a g_scratchpad value.
and then in any onload client script just read the scratchpad value and set, or not set, the new field message. for this client script just make sure that it is global and ui type is set to all.