Question

This activity may not be called directly from input: RULE-OBJ-ACTIVITY DATA-ADMIN-OPERATOR-ID OPENOPERATxxxxxx

I have designed a portal in Data-Portal class.This portal shows all list of operator on the organizattion all with some jonied report properties.Source to that table layout is a data page of class Data-Admin-Operator-ID page :D_BrowxxxxxOperators.

On click on the pyUserIdentifier i'm calling an activity: openoperator class : Data-Admin-Operator-ID

iam getting error messgae :

This activity may not be called directly from input: RULE-OBJ-ACTIVITY DATA-ADMIN-OPERATOR-ID OPENOPERATORRECORD #20191022T164131.999 GMT

I have PegaRULES:SysAdm4 role to my access group too but still not able to find the cause of the issue.

Please some one help one this.

Data-Admin-Operator-ID

Please see attached document on this.

Error Log:

2019-11-30 18:08:33,707 [ttp-nio-8080-exec-10] [ortal_BUSA] [ ] [ IndianEx:01.01.01] ( internal.mgmt.Executable) ERROR localhost|0:0:0:0:0:0:0:1 iamsameer - This activity may not be called directly from input: RULE-OBJ-ACTIVITY DATA-ADMIN-OPERATOR-ID OPENOPERATORRECORD #20191022T164131.999 GMT

Correct Answer
December 2, 2019 - 2:58am

Hi @sameerm2 ,

Thank you for posting your query here.

Kindly open the concerned activity. In the security tab verify whether ​Allow direct invocation from client or a service option is allowed.

If it is checked, you would be able to invoke it with PegaRULES:SysAdm4 role that has been added to the accessgroup.

Hope this helps.

Regards,
Priyabharathi

Comments

Keep up to date on this post and subscribe to comments

December 2, 2019 - 2:44am

Hi Sameer,

 Please try creating the same activity in "Data-Portal" class and perform all the steps in context of "Data-Admin-Operator-ID" step page which you are doing in the activity "OpenOperatorRecords".

It seems at run time rule resolution is looking the same activity in "Data-Portal" class and when not able to find, you are getting the error.

December 2, 2019 - 2:58am

Hi @sameerm2 ,

Thank you for posting your query here.

Kindly open the concerned activity. In the security tab verify whether ​Allow direct invocation from client or a service option is allowed.

If it is checked, you would be able to invoke it with PegaRULES:SysAdm4 role that has been added to the accessgroup.

Hope this helps.

Regards,
Priyabharathi

December 4, 2019 - 12:50am
Response to Priyabharathi

Thanks Priyabharathi,It was help ful, can you tell what is the exact significance of Allow direct invocation from client or a service option is allowed. In brief 

December 4, 2019 - 1:41am
Response to sameerm2

The below links would help you to get a better understanding of the use of Allow direct invocation from client or a service option is allowed

https://community.pega.com/sites/default/files/help_v731/procomhelpmain.htm#rule-/rule-obj-/rule-obj-activity/security.htm

https://community1.pega.com/community/pega-support/question/activity-securitytab

Hope this helps.

Regards,

Priyabharathi