Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Record Producer Variable Cleared on Submission

SindhiaR
Tera Contributor

Hello everyone,

I'm facing an issue with a Record Producer where one variable is auto-populated based on the value selected in another variable.

The value populates correctly on the form before submission and is visible to the user. However, once the record is submitted and the case is created, the auto-populated variable appears blank in the case variables.

So far, I have:

  • Checked the related Catalogue UI Policies and UI Policy Actions.
  • Confirmed that I cannot see anything explicitly clearing the value.
  • Verified that there are no Catalogue Client Scripts associated with the Record Producer.

Has anyone come across a similar issue where a variable value is displayed correctly on the form but is not retained after submission?

What would be the best areas to investigate to identify the root cause? For example, should I be looking at Record Producer scripts, Business Rules, Flows, variable mappings, or somewhere else?

Any guidance or suggestions would be greatly appreciated.

1 REPLY 1

Ankita Bisht
Tera Expert

Hi @SindhiaR Probably it's because the value of variable is not saved in database. It's stay on client side/or on form only. I hope to auto populate the other variables you have used the GlideAjax API. Make sure you used update() function in your code. It will save record to database. If it helps pls let me know. Else share how you auto populate the variables.

Thanks,

Ankita Bisht