Question

4
Replies
7764
Views
Close popover
Chiranjeet Mishra (ChiranjeetM)
Accenture

Accenture
IN
ChiranjeetM Member since 2014 18 posts
Accenture
Posted: August 19, 2016
Last activity: January 3, 2017
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,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.