Record producer variable is not reflecting as per the backend field even it is mapped with record producer.

Ulka1
Tera Contributor

Hi,

 

I have created one choice field with two values and it is mapped with the record producer by creating a variable ( I tick the 'Map to Field' checkbox and select the correct one same field). AS per the  client requirement I have made backend choice field read only and its choice value is displaying depending upon one condition. This field working finely at backend but it should not work (same as backend) on service portal ie record producer.

 

Could any one suggest what should I have to do.

12 REPLIES 12

ersureshbe
Giga Sage
Giga Sage

Hi,

I hope, you created the same field in Record Producer variable and configured the same value in the variable.

That variable choice may created by manual or called from sys_choice table.

The record producer script mapping with database value with the back end value. Can you check DB value configured properly.

Please mark as correct answer if it helped.

Regards,

Suresh.

Regards,
Suresh.

Ulka1
Tera Contributor

Hi Suresh,

 

How we can do record producer script mapping with database value with the back end value. Please advice me as i am new to service portal.

Hi,

I would recommend to understand the record producer behavior with the help of existing OOB. You will get more clarity where you should use the script and how it should assign it to Backend.

It's not a complex to understand, You know how to write the script and use the same in the record producer script window.

Regards,

Suresh.

Regards,
Suresh.

Can you refer below syntax to achieve it.

current.backendFieldName = producer.CatalogItemVariableName;

backendFieldName  -Platform View field Name

CatalogItemVariableName - DB name of catalog item variable.

Regards,

Suresh.

Regards,
Suresh.