setting the value of a field from the variable value of a record producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2024 05:32 AM
Hi all,
I was having a record producer where there was variable called test i need to get the value of the variable of test and these has to set to the field i.e., document and field type is choice. The value of the variable and the value of the field are same but it was not setting. The below is the record producer script. Can anyone help me how to resolve this issue.
current.document=producer.test

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2024 11:24 AM
Hi @charan_1 ,
I tried your problem in my PDI and it works for me, please refer below steps
1. Selected Choice 1 in Test variable
I added 2 choices in test variable ch_one and ch_two
2. I created a field called Test in incident form to map the values, type Choice
I gave the same backend name here like I give in record producer, you also need to give the same backend name.
Here's the result :
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-16-2024 05:29 AM
@Community Alums
Actually it was two different tables in record producer for suppose as per your example it was not incident it was change table but only at a particular condition it need to create a case on change table