Caller field of incident is populating with current user

saba tanveer
Tera Contributor

I am trying to create incident using custom record producer. I have mapped 'Requested for' field to caller field but after submitting the form it is setting value of caller field with current user.

Can anyone tell me why it is happening?

sabatanveer_0-1721828434556.png

 

1 ACCEPTED SOLUTION

Siddhesh Gawade
Mega Sage
Mega Sage

Hello @saba tanveer ,

 

Please check if there are any other script which is setting the caller fileld while submitting. if not instead of mapping field you can use records producer script to do the same work:

current.caller_id = producer.caller_id   // you can use your variable name here

View solution in original post

2 REPLIES 2

Satishkumar B
Giga Sage
Giga Sage

Hi @saba tanveer 
please refer this Article:
https://www.servicenow.com/community/developer-articles/record-producer-map-to-field-on-variable-set...

……………………………………………………………………………………………………

Please Mark it helpful 👍and Accept Solution✔️!! If this helps you!!

Siddhesh Gawade
Mega Sage
Mega Sage

Hello @saba tanveer ,

 

Please check if there are any other script which is setting the caller fileld while submitting. if not instead of mapping field you can use records producer script to do the same work:

current.caller_id = producer.caller_id   // you can use your variable name here