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.

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,

I hope this will help you,

Thanks,

Ashok

@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.

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.

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

Reply has been moved here.