Question 1 Replies 70 Views × Close popover Sreecharan Babu Challagundla (SREECHARAN) Cognizant Technologies Solutions US Pega Infra Build, Admin & Migration Cognizant Technologies Solutions US US View Profile Send Message SREECHARAN Member since 2011 24 posts Cognizant Technologies Solutions US Posted: January 16, 2020 Last activity: January 16, 2020 Posted: 16 Jan 2020 16:48 EST Last activity: 16 Jan 2020 17:34 EST Closed PegaAPI Agent Stop Hello All, We are trying to stop agent using API ... but getting below exception any suggestions would be a great help. Msg received while stopping Agent: [an error occurred while processing this directive] [an error occurred while processing this directive] You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. [an error occurred while processing this directive] Pega Platform System Administration × Close popover Facebook Twitter Linkedin Email Copy Link Copied! Moderation Team has archived post, learn more × 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. Posted: 1 year ago Posted: 16 Jan 2020 17:34 EST × Close popover Harish Gunneri (Harish_GCS) PEGA Senior Software Solutions Engineer Pegasystems Inc. US View Profile Send Message Harish_GCS PEGA replied to SREECHARAN Hi SreeCharan, Are you trying to stop an agent which is in running status? What do you mean by API ? Like an activity ? If yes, Explore Engine API's from help and look at PublicAPI methods. getAgentUtils() provides developers with facilities to query, start, and stop agent processing through an activity. Access AgentUtils methods through PublicAPI interface. AgentUtils interface has this method to stop agent terminateQueue public boolean terminateQueue(java.lang.String aRuleSetName) Terminate all currently enabled queues for the specified agent. If a queue is already disabled, it will be ignored. Parameters: aRuleSetName - The name of the agent (key to the Rule-Agent-Queue record) to modify. Returns: boolean Returns true if the Agent was found, false if the Agent was not found.