Custom Case action status in a CSM case

Awantika verma
Tera Contributor

Hi All,

 

I got a requirement in my project where customer wants a custom action status block by vendor and it will be shown when the case is in awaiting info and pending with vendor. Please help me in getting solution

8 REPLIES 8

Hope this clears my question

Then use the dependent field OOB feature. This will be enough for your requirement.

Refer the docs for more details: 

Make a field dependent 

Dependent Fields 



Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke

Hi @Awantika verma ,

you can configure like below.

 

1. Create one choice value for state called “Pending with Customer” .

2. Create onload client script. and use below logic

if(g_form.getValue('status')=='Awaiting Info') //Awaiting Info use internal value for this
g_form.addOptions('state','Pending with Customer','Pending with Customer');
else
g_form.removeOption('state','Pending with Customer');

3. Create one before Business rule and set the status ="Blocked by vendor" if state is “Pending with Customer” .

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
LinkedIn: https://www.linkedin.com/in/runjay
YouTube: https://www.youtube.com/@RunjayP

-------------------------------------------------------------------------

Runjay Patel
Giga Sage

Hi @Awantika verma ,

 

 

What do you mean by "custom action status block by vendor"? you need field to be shown when case the case is in awaiting info and pending with vendor?