Forum Discussion
FICO
4 years agoCommunity Manager
Api to update one rule
Is there any api to update single row of decision table
4 Replies
- FICOCommunity Manager
There's no API to update a single row of the decision table.
- FICOCommunity Manager
You can look at the Decision Table API example to see usage of some of the API calls that are available to edit cells, rows, and columns of a decision table: examples/apiExamples/metaphorAPIs/decisionTableImport.
- FICOCommunity Manager
Hi @Tom Travis can you provide any documentation or demo or brief description.
Because we have to implement api to update single rule .If there is not any solution then higher authority moving towards another decision modeler platform.
- FICOCommunity Manager
The key API calls are in doc/api/innovator/com/blazesoft/template/metaphor/dectable. The best example is the one I mentioned previously: examples/apiExamples/metaphorAPIs/decisionTableImport, a line from the Java code of the example shows setting the value of a cell programmatically: decTableModel.setCellFieldValue(new NdDecTableCellCoordinates(row, tableCol), 0, (String)numbers.elementAt(0));