on 12-21-2018 10:09 AM
Hi Experts,
I am using SAP BRM Rules Edit API to read and write/change data in a specific rule file via EJB explorer. I referred the link BRM EDIT API for the API details. Read is working fine as expected.
The issue I am facing is at the time of commit to the project. I am getting an error like: Lock already set for zzzz activation of deployment fails, deployment id=xxx;
I have attached the complete error trace and below is the code snippet that I am using.
Code Snippet:
RulesEditAPI api = apiInstance.getAPI();
IProject project = api.getProject(PRO_NAME);
IRuleset ruleset = project.getRuleset(RULESETNAME);
IDecisionTable dt = ruleset.getDecisionTable(DTNAME);
IDecisionTableQuery query = dt.createQuery();
IDecisionTableRow decisionTableRow = dtRow[0];
IRuleset[] updaterulesets = new IRuleset[1];
updaterulesets[0] = ruleset;
project.commit(updaterulesets , true);
Please help. Thank you in advance.
Regards,
Syed
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.