Quantcast
Channel: SCN : Popular Discussions - SAP Business Rules Management
Viewing all articles
Browse latest Browse all 1717

BRM API:authorized required to read the project

$
0
0

Dear Team,

 

I am trying to edit BRM decision Tables using BRM API.

 

I am getting the below runtime exception ,even after providing full access to the user for that BRM DC in NWA->Configuration->Security->Identity Management->Business Role Access Control->Select BRM DC->Select Role assigned to that user id->EDIT->DC Access Type: FULL->Save

 

Runtime Exception:

“User is not authorized to read the project”

 

 

Below is the code that I have written.

                try{

DefaultRulesEditAPIFactory apiInstance = DefaultRulesEditAPIFactory.getInstance();

      RulesEditAPI  api = apiInstance.getAPI();

      //Getting the Project    

       String projectName = "demo.com~myrules";

       IProject project = api.getProject(projectName);

}catch(Exception e)

      {

       wdComponentAPI.getMessageManager().reportException(""+e.getLocalizedMessage());

      }

 

Is there any access or authoriasyion missing to access the project

 

Regards,

Shamila S


Viewing all articles
Browse latest Browse all 1717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>