Record Producer variable fields not populating from Portal to Native View

Vishal Nagar
Tera Contributor

Hi,

 

I made one Record producer on Security Incident table .The variables like requested by, requested for , location, short description are not filling in the SIR form after submission from Portal.

I have already applied below script:-

current.affected_user = producer.requested_for;
current.location = producer.requested_for_location;
current.short_description = producer.business_justification;
current.caller= producer.requested_by;
 
Fields are only populating when i try to submit the record producer via native view but not from portal.
 
Kindly suggest.
 
6 REPLIES 6

Ehab Pilloor
Mega Sage

Hi @Vishal Nagar,

Have you used map to field functionality in the variables? You need to check the checkbox and select the field to which it shall be mapped on the record. By default it is set as Active field so make sure to change it for different fields.

 

Regards,

Ehab

Hi Ehab,

 

These variables are in variable set, map to field option is not coming, i have "business justification" which is not in variable set, i mapped it with short description field but still not working.

 

Thanks.

Can you try debugging the script by adding logs and check if variables and fields are being populated or not?

yes, in logs it is showing the fields seem it is clearing the value at the same time.