Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2079

Re: How to get multipe data set values from Decision Table.

$
0
0

HI,

 

You use case can be implemented by changing the DTO a bit.


You can use the attached DTOs for your scenario. Your decision table should like the table below.

Since the decision table execution table is from left to right, in the setQuestionDescription method we will keep adding to the list as per the code in "QuestionsDto".

 

getProjectCodegetIdentifiersetQuestionIdsetQuestionDescription
1> 1Q1Question 1
1> 2Q2Question 2
1> 3Q3Question 3

 

 

Once the ruleset is invoked and you get the response, you just to QuestionsDto.getQuestionsOutputDto which returns the list of questions.

 

Best Regards,

Rohit


Viewing all articles
Browse latest Browse all 2079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>