What does RawMessage in RobotLogs contain?

We have started to use the Orchestrator API to get RobotLogs, it works fine but I’m curious on what the contents of the “RawMessage” is based on?

Because they can look different depending on which log message we are looking at. Swager states that this field is “A JSON format message containing all the above fields” and I can see that but it differs from time to time.

What is the RawMessage contents based on?

1 Like

Hi,
RawMessage is like the queue item object that will contain different properties:
RawMessage.transactionId, RawMessage.QueueItem.ItemKey, RawMessage.processingExceptionReason, RawMessage.processingExceptionType…

You can find similar details in the following post
How to find the job that started a queue item processing - Help / Orchestrator - UiPath Community Forum

Add log fields logs are not showing in “/odata/robotlogs” response - Help / Orchestrator - UiPath Community Forum

@Oneleg

Welcome to the community

Raw message as the swagger states its basically whole response as json whcih you can see from your job logs also when you click on info

they might look different based on the log message level…fields added from process etc

cheers

1 Like

The RawMessage in RobotLogs is a JSON-formatted message that includes all relevant log fields, but its structure can vary depending on the log type and source. It may include additional metadata, error details, or execution context based on the specific log entry. If you notice inconsistencies, checking different log levels or sources might help clarify the variations.

But if I don’t have a queueitem in the process? Our dispatcher has no queueitems it just dispatches jobs into a queue.

I’ll have to look at the logs for the dispatcher and see how they look.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.