Question

Call Decision Table from Action

Hello,

Got a quick questions:

I have a drop down with values. On dropdown change action, I want to call decision table/tree which will set properties for other controls on the screen. How can I make it happen. There is a function obtainvalue, but I do not know how to use in action. Plus I want the code to be reused inside multiple drop downs and check box actions.

Thanks in advance for your response.

Rajesh

 

 

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Correct Answer
December 21, 2016 - 7:48pm

Yes, in your Dropdown click action, add 'Run Activity'. In the activity, you can call 'Property-Map-DecisionTable' method to invoke the DecisionTable or 'Property-Map-DecisionTree' method to invoke the DecisionTree. 

Comments

Keep up to date on this post and subscribe to comments

December 21, 2016 - 11:07am

You can create an activity and call your decision tree in a step.call this activity in the action tab and onchange of the drop down

Pega
December 21, 2016 - 7:48pm

Yes, in your Dropdown click action, add 'Run Activity'. In the activity, you can call 'Property-Map-DecisionTable' method to invoke the DecisionTable or 'Property-Map-DecisionTree' method to invoke the DecisionTree. 

December 28, 2016 - 12:08am
Response to SusanLiu

Susan,

Thanks for your reply. Your response helped me.

Rajesh