We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df6222e commit 1488c1cCopy full SHA for 1488c1c
Business Rules/Decision Table API/decisionTable.js
@@ -0,0 +1,11 @@
1
+var sysID = 'custom_sys_id';
2
+ var dt = new sn_dt.DecisionTableAPI(); //Calling Decision Table API
3
+ var inputs = new Object();
4
+ inputs['u_csf'] = current.u_csf_capability; //Map to Decision Table Question Inputs
5
+ var response = dt.getDecision(sysID, inputs);
6
+ if (response != null) {
7
+ var csfDomain = response.result_elements.u_csf_domain;
8
+ var csfPillar = response.result_elements.u_csf_pillar;
9
+ current.u_csf_domain = csfDomain;
10
+ current.u_csf_pillar = csfPillar; //works well for multiple permutations and combinations on Risk Record
11
+ }
0 commit comments