Fetch custom field data automatically to a catalog item variable dynamically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2024 07:51 AM
Hi All,
Please help me out to find the solution of mentioned requirement .
Requirement is I have 3 custom field (string) in a table . Also I have a catalog item with same variables. I want to fetch value from 3 custom field to variables in catalog item dynamically. If I write 'test' on custom field of the table then it should automatically reflect on that catalog item variable. If I leave blank then variable should be blank.
I also tried a client callable script include but did not get desired result.
Please reply asap .
@Ravi Gaurav ,@Sandeep Rajput, @AG - LearnNGrow, @Ankur Bawiskar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2024 08:14 AM
You need a before update business rule that runs when on of the fields changes. Then in the business rule you can do something like this.
current.variables.variable1 = current.field1
current.variables.variable2 = current.field2
current.variables.variable3 = current.field3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2024 09:12 AM
I tried it but not getting the result.
Could you please let me know how will it get field value , because there is no option to map the fields of the table to variables ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2024 09:38 AM
current.field_name will get the value. Can you share the business role you tried to create?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2024 11:30 AM