Monitoring the Delegations
Viewing the Delegate Tasks in the Automation Portal
You can view when a task was delegated by viewing the Task Info window for a delegated task in the Automation Portal.
To view the delegated tasks in the Automation Portal:
-
Select Robotic Client > Task Control Room.
-
To filter for delegated tasks, select Delegated.
-
Select a task and click Info
to view the Task Info window for the delegated task. The DELEGATION TIME indicates when the task was sent to the attended solution.
Delegation-to-Attended Logs
The following entries appear in the logs for Delegation-to-Attended solutions:
560701 - [Delegation to Attended] Delegation Id: <Delegation Id> for Task <Task Name> was pulled by Client Id: <Client Id> with Solution: <Solution display name> Version: <Solution Version>.
560702 - [Delegation to Attended] Task <Task Name> was completed successfully/not completed by the user <User Id> with Solution: <Solution display name> Version: <Solution Version.
564608 - Error msg text: The project is marked for handling delegations, but doesn't contain a Delegation Event Handler. Define a Delegation Event Handler and associated logic to handle the delegation.
Real-Time Client Logger for Delegation-to-Attended
The Attended Real-Time Client uses the following loggers to log different actions:
-
RobotToHumanService logger: Actions related to feature logic.
-
Communication logger: Actions related to send REST messages.
-
MessageHubService logger: Actions related to sending messages using STOMP over WebSocket.
-
LibraryObjects logger: Actions related to the robot to attendant Task received and the event that fired to the delegation solution.
The completion status messages are sent to the RT Server and are printed in RobotToHumanMessagingManager as Developer messages. There is an error handling mechanism to prevent data loss. This mechanism ensures that all the completion status are sent to RT Server.
Delegation-to-Attended Audit
The following entries appear in the audit for Delegation-to-Attended solutions:
“[Delegation to Attended] Delegation with ID: {}, was marked as completed by user: {}"
“[Delegation to Attended] Delegation with ID: {}, was marked as not completed by user: {}"
"[Delegation to Attended] Delegation with ID: {}, for task: {} was pulled from the queue by user: {}"