Question
John Deere
IN
Last activity: 15 Sep 2024 1:08 EDT
Decision Table with parameters called from data transform
I am calling decision table from data transform using @ObtainValue function, however my decision table accepts some parameters.
How to pass parameters from data transform to the decision table.
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 15 Sep 2024 1:08 EDT
Bits in Glass
IN
@Nik@sh Obtainvalue function will get the parameters if it's set. Please check if you are passing correct step page as parameter. If parameters are set on different context then in the current context parameters won't be there. Please check if parameters are being passed to current page and pagecontext is being passed correctly.
Updated: 12 Dec 2023 1:50 EST
Tata Consultancy Services
IN
Hi @Nik@sh,
You can call by Using Fucntions pxEvaluateDecsionTable, or ObtainValue().
@(Pega-RULES:DecisionTable).ObtainValue(tools, primary, pyTaggedDataInstances)
These OOTB data transforms they are calling the Decision table from the data transform, please have a look , so that you will an idea.
pyInviteUserDefault , pzChartSetNavOptions , pzPopulateChapter
Could you please refer below articles,
https://support.pega.com/question/call-decision-table-data-transform-0
https://support.pega.com/question/call-decision-table-data-transform
https://support.pega.com/question/map-decision-table-data-transform#top
I hope this will help you,
Thanks,
Ashok
Accepted Solution
Updated: 15 Sep 2024 1:08 EDT
Bits in Glass
IN
@Nik@sh Obtainvalue function will get the parameters if it's set. Please check if you are passing correct step page as parameter. If parameters are set on different context then in the current context parameters won't be there. Please check if parameters are being passed to current page and pagecontext is being passed correctly.
Updated: 15 Sep 2024 1:08 EDT
NCS Pte. Ltd
SG
Hi @Nik@sh: You can set the parameters in previous steps before calling the decision table (using the functions) in a step of data transform.
Thanks.
Updated: 17 Dec 2023 3:34 EST
Rulesstack Private Limited
IN
Hi @Nik@sh,
For this requirement before calling decision table in data transform set the parameter’s by using set action and in next step call decision table by using Obtain Value function.
Regards,
Mohd Qizer Uddin