Newly introduced pyAddWorkHistoryDefaults activity has “Require authentication to run” checked which causing the service activity to fail
Pega OOTB activity AddWorkHistory (this activity is getting called on completing assignment triggered by ResumeFlow )in P7 calling pyAddWorkHistoryDefaults activity (this was not there in P6) and this activity has “Require authentication to run” checked which causing the service activity to fail, saying that requestor don’t have authentication to run this activity.
Solution: Saved pyAddWorkHistoryDefaults activity rule in our ruleset and unchecked “Require authentication to run” checkbox.
Please confirm that above solution is correct and whether it has any other impact?
Sudhanshu Kumar Yadav
***Updated by moderator: Lochan to add Categories***
This checkbox is already unchecked and after your response I have again verified the error and its coming when the agent activity ProcessQueue is trying to process the request from the queue. And this called from Pega-IntSvcs agent and in this agent Bypass activity authentication check box is unchecked and that's why we are getting this issue.
So in the above scenario do you see any other way except modifying the activity I have mentioned in the main post. We cannot modify this the agent as its OOTB agent and modifying the agent schedule I don't think client will accept this.
Your approach seems to be correct in this scenario unless Pega provided some additional Hfix to handle this. pyAddWorkHistoryDefaults is added to do extension so there should not be any problem unless Pega provides any other solution through GCS.