- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 12:36 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 01:42 AM - edited 10-03-2024 01:43 AM
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 01:53 AM
Thank you so much @yaswanthi2 , this helped me to get the urgency field populated with 3-Low. Its working!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 01:02 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 01:39 AM
Hi Robbie,
Yes the urgency variable in the record producer is type 'select box' only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 03:31 AM - edited 10-07-2024 01:35 AM
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