Client script that will work for all tables extedned from task

DevtoSME
Giga Guru

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 

 

3 REPLIES 3

Anurag Tripathi
Mega Patron
Mega Patron

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

AnuragTripathi_0-1718031811247.png

 

-Anurag

DevtoSME
Giga Guru

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?

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.

-Anurag