Forum Discussion

FICO's avatar
FICO
Community Manager
13 years ago

Code Template in Decision Table Action

Code Template in Decision Table Action

I am working with a DT and as per input; Decision Table should return more than one result as a list. Because the same input condition is applicable for multiple rows in my case. But DT is returning only one row.

I have created a Code template and bind it to the action cell and also changed the Decision table execution mode to "Sequential”. But still facing the same issue.

Could anyone please guide me on this?

Thanks

Subha

1 Reply

  • FICO's avatar
    FICO
    Community Manager

    are you able to pinpoint the last rule/row executed before exiting and check the action of that rule? if you look at the table in the navigator pane you should be able to see it in rule form and see the full srl that is executed.

    is your DT action actually have a return statement? i bleive you should not have a return type  so it runs all the rows and in the action just add your value to a  list, is this what you're already doing?