
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 10:20 PM
I want to update subject person and opened for based on catalog variable. But the below statement on the record producer is not working .
current.opened_for = current.variables.req_for.getDisplayValue();
current.subject_person = current.variables.req_for.getDisplayValue();
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 11:39 PM
In a record producer, producer is the object holding the values of variables. Therefore, it should be like,
current.opened_for = producer.req_for;
current.subject_person = producer.req_for;
In the below docs link you can find the documentation for record producer:
Populate record producer data and redirect users
- Use
current.*FIELD_NAME*
to reference fields on the record being created. - Use
producer.*VARIABLE_NAME*
to reference values entered by the end user.
Regards
Air
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 11:39 PM
In a record producer, producer is the object holding the values of variables. Therefore, it should be like,
current.opened_for = producer.req_for;
current.subject_person = producer.req_for;
In the below docs link you can find the documentation for record producer:
Populate record producer data and redirect users
- Use
current.*FIELD_NAME*
to reference fields on the record being created. - Use
producer.*VARIABLE_NAME*
to reference values entered by the end user.
Regards
Air

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 11:49 PM
Thank you Air.