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.
Hi,
RawMessage is like the queue item object that will contain different properties:
RawMessage.transactionId, RawMessage.QueueItem.ItemKey, RawMessage.processingExceptionReason, RawMessage.processingExceptionType…
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.