cancel
Showing results for 
Search instead for 
Did you mean: 

BRM Edit API

0 Kudos

BRM Experts,

I am trying to commit a project after adding rows to a Decision Table in my ruleset.

I have a single ruleset and a single Decision table within it.

The method signature for commit() expects IRuleSet[].

Can someone explain how to handle the same ?

BR,

MB

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mahantesh

You can use the following code for committing the changes

Create a IRuleSet Array and define its size as 1.

IRuleset[] rulesets = new IRuleset[1];

Assign its first element to the ruleset that you already created .

rulesets[0] = ruleset;

and you can commit using the IRuleSet Array 

project.commit(rulesets, true);

Try using this code .

Regards

Mani Gupta