when I submit the record producer the data saved capture wrong

jay97
Tera Contributor

Hello Guys,

 

on filling the RPScreenshot 2022-12-14 222341.png

after submiting RP

Screenshot 2022-12-14 221946.png

 

When I submit the record producer I am seeing different data captured on the reocord procedure which I saw while on submiting How Can I trace ?

 

On RP, one field Business Service which get data from server-side script based on change of impacted product on the RP.

 

it is coming correct but when I submit the RP but when I see submitted RP records Business service values is being changed.

 

How Can I trace it ? what goes wrong while submitting ?

please help with debugging suggestion

1 ACCEPTED SOLUTION

  1. My suggestion would be to change the 'Business Service' variable to Reference type. If you do so the script to fetch the Business Service from the backend should return sys_id.
  2. And make sure the mapping is present and correct.
  3. The field name and variable name should be the same.

If you still facing issues suggest you share your script.

 

Regards,

Reshma

**Please mark my answer correct or helpful based on the impact**

 

View solution in original post

5 REPLIES 5

Sagar Pagar
Tera Patron

Hi,

Check the record producer scripts which updates Business services fields.

Also, check the before insert/update business rule on target table.

 

Thanks,

Sagar Pagar

The world works with ServiceNow