- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 11:23 AM - edited 07-29-2025 11:32 AM
I have two custom tables (category_table and subcategory_table), the mapping works fine on the form. But when submitting no category or subcategory gets updated.
My variables are:
category
subcategory
I tried to use the following script inside the record producer without any luck.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 02:37 AM
Didn't see any issue in variable setup. And also, variable type is lookup select box and it will not support dot walk.
Please verify column and variable name.
current.<column name> = producer.<variable name>;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 12:05 PM
As you mentioned category and subcategory is reference column, make sure you are sending sys_id of category and subcategory from your variables producer.category and producer.subcategory. Otherwise make necessary translation, and get sys_id before setting category and subcategory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 01:54 PM
Hi Periyasamy - Thanks for looking into this!
But I am still struggling to get this to work.
May be more detail would help:
Here is my category variable setup:
Here is my sub-category setup:
Here is my script setup:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 02:37 AM
Didn't see any issue in variable setup. And also, variable type is lookup select box and it will not support dot walk.
Please verify column and variable name.
current.<column name> = producer.<variable name>;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2025 08:39 AM
Thank you Periyasamy!
As you pointed out, the issue was with the actual column name and the variables.
All works OK now:)