Question

4
Replies
7494
Views
ChiranjeetM Member since 2014 18 posts
Accenture
Posted: 4 years ago
Last activity: 3 years 8 months ago
Closed

Getting an error "You lack acces required to run Rule-Obj-Activity.." when calling the activity from Java

I have an activity with a java step where i am calling an activity.PFB the code:

HashStringMap keys = new HashStringMap();
keys.putString("pxObjClass", "Rule-Obj-Activity");
keys.putString("pyClassName", "Rule-Obj-ReportDefinition");

keys.putString("pyActivityName", "RetrieveReportData");

ParameterPage paramPage = new ParameterPage();

tools.doActivity(keys, myStepPage, paramPage);

While running this activity standalone(Direct invocation enabled), it is throwing an error at the java step, showing You lack acces required to run Rule-Obj-Activity.RetrieveReportData

Can anyone help me with this?

Thanks,
Chiranjeet

***Updated by Moderator: Lochan. Removed user added Ask the Expert tag. Apologies for confusion, shouldn't have been an end-user option; updated Categories***

Low-Code App Development Data Integration Java and Activities Reporting
Moderation Team has archived post
Share this page LinkedIn