Activity authentication by File Listeners

How can activities requiring authentication (Acitivity -> Security tab -> Authenticate check box ticked) be executed by processes started by a file listener? Errors appearing in the log file suggest that the requestor associated with the listener process does not have required access to execute RULE-OBJ-ACTIVITY WORK- CLOSEDEFAULTS. User id provided in the Requestor Login section of the Properties tab of File Listener rule does not help. catalina_20080422_2113.out:2008-04-22 20:59:08,683 [ FILE-Thread-57] [ STANDARD] [ ] ( engine.runtime.Executable) ERROR File.ClaimsFileListener|process|AAAA274649DE5A706C4ED7FD9A2F3B472|1208912345670000|Feed/Claims-Work/ClaimsFeedProcessing ClaimsListener - Only authenticated client may start this activity: RULE-OBJ-ACTIVITY WORK- CLOSEDEFAULTS #20080220T181510.608 GMT catalina_20080422_2113.out:com.pega.pegarules.pub.PRRuntimeException: Error: You lack access required to execute RULE-OBJ-ACTIVITY WORK- CLOSEDEFAULTS #20080220T181510.608 GMT.[/size=5][/size=2] [/size=3]

***Updated by moderator: Marissa to close post***

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

April 23, 2008 - 3:55pm

you can try providing User ID/Password in Requestor Login section of Properties Tab in File Listener Rule Definition Form

April 23, 2008 - 4:38pm

I have already tried using a userid/password in the Requestor section of the File Listener rule, and it did not work. Is there a specific access group that should be used with the user id to bypass this authentication?

April 24, 2008 - 9:54am

I did some searching on the PDN Help system (Use PDN Advanced Search http://pdn.pega.com/Tools/Search/AdvancedSearch.asp), and maybe your issue is covered here in the PRPC help system:

No PRPC version is given, but the framework which provides ClaimsListener should know. Also, you're referring to Activity Work-.CloseDefaults, which looks like it is in 05-04-01. Is that correct? This activity has authenticated (probably an example of when *not* to check that), so it's simple enough to override it locally.

Also, For the first part of your question, starting in 5.3 SP2, there is a "bypass activity authentication" checkbox on the agent form to let you run activities that require Authentication.


April 24, 2008 - 1:20pm

The PRPC version in my system is 5.4.

I can resolve this issue by overriding the CloseDefaults activity locally. But I would have to do the same for every system defined activity that has 'Authenticate' check. Moreover this cannot be done with activities have been set to 'Final' (See Activity:@baseclass:LookUpList).

Your suggestion to "bypass activity authentication" in the agent cannot be applied here because this is a File Listener rule. If there is any relation between the agent definition and file listener definition, I am not aware of it. Any pointers will be helpful.

May 12, 2008 - 6:24pm

I think its similar to the issue that i raised with PEGA and got the HFix-678.zip. So contact them to get the Hot-Fix.