Scheduled Agent called but SQL Connect not executed
SummaryA scheduled agent is configured to run an activity to execute several Connect SQL calls.
After the scheduled time has passed, the state of the database indicates that the Connect SQL calls were never executed.
If the activity is executed manually, the Connect SQL calls execute successfully.
Error Messages30 Nov 2016 09:34:00,019 [ PegaRULES-Batch-2] ( async.agent.QueueProcessor) DEBUG - No item to process: MyAgentRuelset #1: MyOrg-MyParentClass-MySubClass.MyAgentActivity
Steps to ReproduceExecute an standard agent who's agent activity makes one or more Connect SQL calls.
Root CauseAn issue in the custom application code or rules where the agent was created with a mode of "Standard", however no queue items were present.
This resulted in the agent activity not being executed when the agent ran. In "Standard" mode, at least one queue item is required for the agent activity to execute.
ResolutionPerform the following local-change:
Adjust the agent to use "Advanced" mode, which will run the activity when the agent runs without the need for any queue items.
Published December 9, 2016 - Updated December 19, 2016