- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2025 09:07 AM - edited ‎01-22-2025 09:11 AM
I want to assign a value of variable from the form being submitted on portal to another variable on hte same catalog item (hidden variable) . i haev created before BR that doesn't capture the value at time creation , it says undefined. this BR works fine for update but i want ot make it work for create as well. dependent value also doesn;t work becasue i need to assing the free text value being submitted from same catalog item form and not referencing to any table. (we have multiple such cases)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2025 09:54 AM
Try with current.request_item.variables... in the assignment line as well. You could also move this prior to the task creation activity, since the same variables and values are available to the RITM record and Catalog Task records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2025 09:18 AM - edited ‎01-22-2025 09:19 AM
try with After insert Business rule.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2025 09:41 AM
after BR is not useful because ther is flow and trigger for that is created or updated on the sc task to send details as soon as it is created to other 3rd party
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2025 09:19 AM
If this BR is running on the sc_task table, try instead referencing the variables from current.request_item.variables..., or current.parent.variables... - depending on which field is populated with the RITM in your instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2025 09:40 AM - edited ‎01-22-2025 09:42 AM
tried that it shows correctly in the log but not on the UI. use case - we want to send teh data as soon as it is created throug other 3rd party which is invoked through flow. so we need to correct value at the time of creation itself as the condition on the flow trigger is sc_task created or updated