Forum Discussion
FICO
8 years agoCommunity Manager
Insert "Return value" in the Generic Template (Decision Table) for the "Action Cell Groups" in Dynamic Binding.
Objective: Insert "return value" in the Generic Template (Decision Table) for "Action Cell Groups" in Dynamic Binding.
Situation: In a given decision table, there are two rules that are triggered in execution, the value received in the second rule is overwriting the value received in the first rule.
Difficulty: Add a return value, rule to rule, where upon receipt of the "return value" of the first rule, execution is terminated without reading the others rules.
Generic Template Setting:
Rule 6:
Rule 157:
Thanks a lot!!!
7 Replies
- FICOCommunity Manager
By default, when you first create a decision table template, it creates an Action Cell Group with a Display Name of Result and a binding of return, as long as your table has a return type. I am assuming then that your return type was set to void. You can still add an additional Action Cell Group, choose a Static Action Cell Group, add a Cell Format to it, and create a template in the table that displays whatever you choose, and in the SRL Content area just says return. If you create it as an Optional Action Cell Group, you can just add this column in tables where you want it to return and not use it on other tables.
- FICOCommunity Manager
The goal would be to create the return using the "Dynamic Binding", so that the business user can have flexibility when creating their decision tables.
In this way, we could not use "Static Binding". Is it possible to create the return through "Dynamic Binding"?Thanks a lot!!!
- FICOCommunity Manager
Since the statement is just "return" there is nothing dynamic about it. It is creating it as its own column in the table, and it doesn't interfere with the rest of the columns using Dynamic Binding. I don't see any way to edit the Dynamic Binding so that it builds the return statement into it.
- FICOCommunity Manager
Unfortunately this feature would be of great help, offering flexibility to the "end user" in the RMA.
Using "Static Bilding", how can we proceed to create a simple "return value" through it?
Thnaks a lot !!!
- FICOCommunity Manager
Can you send me screens with the implementation of this return?
- FICOCommunity Manager
First you add a code template within the Decision Table template:
Then you create the static action and add this template to the Cell Formats:
Leading to rules looking the way you were trying to get:
Making your table look more like this:
- FICOCommunity Manager
Thomas, thanks a lot !!!
You are the man ....
Related Content
Related Content
Hi, How can I run multiple "vdl-action-execute" in one "vdl-action-group", like sequential? When i put multiple vdl-action-execute in a vdl-action-group, only the first one runs. Thank you in advanc
3 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum9 unread comments9 unread0Views0likes9Commentsgetparam("XNLP_STATUS") returns 7. What does it mean?
Hello, getparam("XNLP_STATUS") returns problem status number 7 which is not explained in FICO documentation. Only 0 to 6 are known and explained. Do you know what 7 means and where we can find rel...3 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum3 unread comments3 unread0Views0likes3CommentsWhen does the LP status return problem status as "unsolved"?
Hi, I have an LP problem that does not find an optimal solution, but is also not infeasible or unbounded. The getparam("XPRS_LPSTATUS") query returns 7 (XPRS_LP_UNSOLVED). Any pointers as to why and...10 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread0Views0likes2Comments