When user creates problem from an incident form it should auto populate field values

Gayathree Seeth
Tera Expert

We have created new field called TYPE in the problem form which has two values 

* proactive

*reactive

Now when we create problem from an incident form then it should auto populate with the value "proactive".

Suggest some ideas!!

1 ACCEPTED SOLUTION

Hi @Gayathree Seeth 

 

Actually is way simpler then i thought in this case. You just need to add 4 marked below lines. Of course change fieldname and value 🙂

KamilSmusz_0-1680102561609.png

 

View solution in original post

9 REPLIES 9

Hi @Gayathree Seeth 

 

Actually is way simpler then i thought in this case. You just need to add 4 marked below lines. Of course change fieldname and value 🙂

KamilSmusz_0-1680102561609.png

 

Gayathree Seeth
Tera Expert

Thanks very much Kamil. The requirement is working now.

This was useful.

 

Gayathree S

 

 

Hi Kamil,

 

Even though i am getting the output for this code i am also getting one error.

 

I am using Onload client script for the problem table on other hand to autopopulate the type field as "reactive" when the problem is created from Problem-> Create New

When i use this client script my UI action code is not working. ( i.e The Type field is also getting populated as Reactive when created from an incident)

Community Alums
Not applicable

Hi @Gayathree Seeth 

Did you get any solution on this? if so can you share what all configuration you did?

 

Thank You!

Hi @Community Alums 

 

Sorry for very late response. Yes i have achieved this using the onload Client script.