Decision Table Error Using Business Rule
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2024 08:55 AM
Hi,
Why Im getting this error? What am I doing wrong?
This is my Decision table:
This is my Business Rule:
(function executeRule(current, previous /*null when async*/ ) {
// Add your code here
var dt = new sn_dt.DecisionTableAPI();
var inputs = {}
inputs.u_category = current.category;
inputs.u_name = 'alon';
var response = dt.getDecision('542898e593be4210b73aba7efaba103a', inputs); //
var result_a = response.result_elements.u_answer;
gs.log('alonfsafas: ' + result_a);
})(current, previous);
This is the error that Im getting:
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2025 08:26 AM
did anyone get further on this? im getting the same problem?
i confirmed my inputs are going through properly.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2025 11:31 AM
this was a domain issue, we moved it to global and it worked correctly.