In SOW view need to set field value.

Abhilasha G T
Tera Contributor

Hi Team,

Given that I am a SOW user in the ITSM space
When I open an interaction ticket
Then the Custom Product field on an Interaction is set to Incident

 

How to achieve this.

 

Regards,

Abhilasha G T

9 REPLIES 9

@Abhilasha G T 

then add that product field on form

Use onload client script and specify the view name in the view field

Then set the value

what did you try so far?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur ,

I tried all the way, like onload cs and setting view name and all,

 

the thing is,

1. Product field in the interaction table  is a reference field , reference to product inventory

2. Product field is not available on the interaction form

Requirement is> when we create a new interaction in sow view , product field should set as incident.

Regards,

Abhilasha G T

 

@Abhilasha G T 

if that field is not on form then your client script can't set

Add that field on form view, populate it using client script and then immediately hide it

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Abhilasha G T 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Abhilasha G T 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader