How Auto Populate Urgency field to 3-Low

Naresh_5120
Tera Contributor

Dear Community,

 

I have created a form through record producer on incident table with some field prepopulated , Example "Opened For is prepopulated with caller, Short Description is prepopulated with Defined issue "Windows Hello issue" However i am not able to prepopulate Urgency field with 3-Low. Can someone help , how can i pre-populate urgency field with value 3-Low

 

Naresh_5120_0-1727940957514.png

 

1 ACCEPTED SOLUTION

@Naresh_5120  Please put backend value in default value

Example: if 3-Low is label and the value is 3 then put 3 in default value.

View solution in original post

8 REPLIES 8

Thank you so much @yaswanthi2 , this helped me to get the urgency field populated with 3-Low. Its working!

 

Naresh_5120_0-1727945608054.png

 

Robbie
Kilo Patron
Kilo Patron

Hi @Naresh_5120,

 

Can you share the code and where you're setting the urgency field. I assume it will be something similar to the following:

 

current.urgency = producer.urgency;

 

Once thing that jumps to mind is to ensure that the 'urgency' variable in the record producer is of type 'select box' and points to the same urgency field on the incident table and the values are therefore the same - otherwise it won't recognize the value.

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.



Thanks, Robbie

Hi Robbie,

 

Yes the urgency variable in the record producer is type 'select box' only.

 

Naresh_5120_0-1727944678208.png

 

 

Naresh_5120_1-1727944731010.png

 

 

Hi @Naresh_5120,

 

Has defaulting the value solved the issue? What happens if someone sets the Urgency to High?

I thought the issue was the field is not mapped correctly.

I would advise you consider any unintended consequences before defaulting the value to low. By defaulting, this means every interface (Back-end/Native, Portal and via the Record Producer) the value is selected. Has this been agreed by the Incident process/business owner?

 

I would reconsider and set the value via your Record Producer only. (Again once agreed by Process owner).

 

Typically, by not defaulting the value, you force the user into selecting a value and not bias the selection.

Can you share in your code where you set the value please.

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.



Thanks, Robbie