Support Article
Only authenticated client starts this activity: pxTrackAction
SA-19120
Summary
An error is observed in the PegaRULES logfile whenever a work object is created. The last step in the work object flow calls an external service.
Error Messages
2016-01-19 11:26:33,917 [.PegaWorkManager : 5] [ STANDARD] [ ] [ your_app:01.01.01] ( internal.mgmt.Executable) ERROR - Only authenticated client may start this activity: RULE-OBJ-ACTIVITY @BASECLASS PXTRACKACTION #20150721T160454.726 GMT
com.pega.pegarules.pub.PRRuntimeException: Error: You lack access required to execute RULE-OBJ-ACTIVITY @BASECLASS PXTRACKACTION #20150721T160454.726 GMT.
at com.pega.pegarules.session.internal.mgmt.Executable.updateStepStatusAndLog(Executable.java:836)
at com.pega.pegarules.session.internal.mgmt.Executable.activityProlog(Executable.java:768)
at com.pegarules.generated.activity.ra_action_pxtrackaction_d33ee5fabde97fbe62693e8541e3967a.perform(ra_action_pxtrackaction_d33ee5fabde97fbe62693e8541e3967a.java:52)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3505)
Steps to Reproduce
1. Create a work flow that is started via an external service (HTTP, SOAP or Java).
2. Make the last step in the flow (other than the end shape) must be a utility that invokes an activity.
3. Ensure that the activity has only one step, Requestor-Stop.
4. Execute the workflow.
Root Cause
pxTrackAction and pxTrackAchievement, which are final rules, incorrectly have the "Requires Authentication" flag set to true. When these are run after the requestor-stop is called, the error occurs.
Resolution
Apply HFix-25773, which changes the final rules pxTrackAction and pxTrackAchievement activities to no longer require authentication.
Published February 9, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.