Messages
Messages — /messages

Full list with search and filters by status, application, interface, definition and period — the filters include the Help Desk tools, so you can find a ticket’s message and see what the tool answered. Each row opens the message detail — and the icon that opens the message follows the colour of that row’s status, just as the footer totals follow the state they count. In a grid of a hundred rows, that is what lets you find the error without reading the status column.
The status filter uses the same icon as the row it filters — picking “delivery error” in the
dropdown and spotting the matching row in the grid means recognising the same mark, not translating
a label.
It accepts several statuses at once (for example, Delivery Error and Business Error together); none checked means All Statuses. A link with ?status=A,B already arrives with both checked.
For whoever has access to Routers, the filter bar also has the Router combo (multi-select): it shows the messages generated by the chosen Routers. The See the generated messages link on the Router screen arrives with it already filled in.
When the grid gets narrow (a smaller window or the side menu open), two columns adjust so the table fits without sideways scrolling: the ID becomes just the fingerprint, with the full ID in the tooltip and the copy button next to it, and Execution Time leaves the grid — the same time, broken down, is in the message detail.
Period
The period is a single button, with a clock, that shows what is in effect — Today, Last hour or the dates, when they are fixed. It opens a panel with:
| Group | Options |
|---|---|
| Relative | Last 15 minutes, Last hour, Last 4 hours, Last 24 hours, Last 7 days |
| Calendar | Today, Yesterday |
| Last X | Any number of minutes, hours or days, up to 999 |
| Custom range | The From and To fields, for a fixed window |
Shortcuts follow the clock. “Last hour” does not turn into two dates when you click it: each time the list refreshes the window ends now, and whoever comes back to the screen later still sees the actual last hour. Today runs until 23:59:59, so a message arriving a minute from now also shows up. Typing a date fixes the range — the button starts showing the dates, and the other end comes pre-filled with the window the shortcut covered.
Date of receipt or of return. The top of the panel has Filter by date of, with two options. Receipt, the default, filters by the moment the message reached the CMS. Return (destination) filters by the moment it finished — processed or failed —, even if it arrived earlier: a message received yesterday that failed today falls in “Today” by return and outside it by receipt. By return, the button shows the choice next to the period (Today · by return), and a message that has not finished yet does not show up. Clear filters goes back to receipt.
Above 10 thousand, the Applications Dashboard and the footer show the short number — 37.7K, 1.07M —, with the exact number on mouse hover.
It is the dashboards’ count: the Applications Dashboard, the footer and the Daily X-Ray count Error and Processed by return date and without test traffic. That is why clicking those numbers opens the list already by return and with real traffic only — and the list matches the number clicked.

Real traffic and test traffic
A message fired from the Test Bench shows up here with an amber flask next to the status; hovering over it shows who fired it. It is in the list on purpose: whoever tested needs to find what they just sent.
What it does not do is enter the accounting — dashboards, reports and the Daily X-Ray ignore it. Hence the three-position traffic filter:
| Position | Shows |
|---|---|
| Real and test | Everything |
| Real traffic only | What came from the world, without the tests |
| Test Bench only | What somebody fired while testing |
The exception is the Test Bench’s Publish to source mode: it produces the stimulus on the broker, the PLC or the folder, and the message born from that is real — the CMS cannot tell what you published from what the equipment published.
Where the message came from
Next to the status, a small icon tells you when the message did not come from the usual source system:
| Mark | Means | On hover |
|---|---|---|
| Lightning bolt | It was fired by a Trigger | The Trigger name |
| Lifebuoy | It is the opening of a Help Desk ticket | The ticket destination |
| Violet robot | It was created by an AI agent, through an MCP tool | The tool and the credential that called it |
| Fork | It was spread by a Router | The Router sigla |
The marks show in the grid, in the popup and on the message page. They are origin information only, with no shortcut: unlike the test flask, they are all real traffic and count in dashboards and reports.
In the summary popup, the marks sit next to the status, and, at the end, the Forwarded messages grid lists each message born from this one — the Collection’s forwarding or the Delivery’s Forward Response —, with the Application, the Delivery, the status and a shortcut to open each one. For the full history, View full opens the message page.
Processed Messages — /messages/processed

Filters down to what was delivered successfully. Useful for proving delivery when the destination system claims it never received anything: the history keeps the response the destination returned.
When the Definition has Allow resend on, the row gets the resend button (the orange paper plane) — see Resending a processed message.
Delivery Errors — /messages/delivery-errors

Technical (ERRO_ENTREGA), business (ERRO_NEGOCIO) and Transformer (ERRO_TRANSFORMER) failures,
with individual or bulk reprocessing. Reprocessing creates a new attempt; previous history is preserved.
Each reprocessing is recorded in the Audit Log, as REPROCESSAR_MENSAGEM.
Besides typing the confirmation word, whoever reprocesses gives the reason, which is mandatory. It is stored on each message together with the user, the date and the time, shows in the Reprocessing block of the message detail and summary, and also goes to the Audit Log. The reprocessing offered when saving a fixed Transformer stores an automatic reason that says so.

On confirming, the modal turns into a result grid: for each message, whether reprocessing was accepted and its status now, checked on its own every 3 seconds until the message ends (Processed, failed again, Cancelled). The speech bubble opens the message summary on top and the eye opens the detail in another tab. The footer sums up how many were processed, how many failed again and how many are still in progress. Tracking covers the first 60 messages for up to 3 minutes.
Failure of a Collection without input parameters (the “pull” Collection the scheduler fetches on its own): reprocessing asks for the Interface run right away instead of waiting for the next cycle. The fetch brings the data of now and stores it in the most recent reprocessed message; the other reprocessed messages of the same Collection close as Processed, with an attempt that points to the message that got the data. Such a Collection cannot fetch again the data of the moment of the failure, and fetching once per message would only repeat the same data.
The Messages with Error menu item shows, in red, how many messages failed in the panel period — Today, Last 24 h or Last 2 days. It is the same number as Errors in the footer, within the viewer’s Applications, and clicking the item opens the screen on that period, by return date and with real traffic only.
Uncertain delivery

If the CMS process goes down at the exact moment it is sending the message to the destination, there
is no way to know whether it arrived: the destination may have received it and the CMS gone down before
storing the response. Since most destinations do not discard repeats, CMS does not resend on its own
in this case. The message goes to ERRO_ENTREGA flagged as an uncertain delivery, the delivery error
alert fires, and the message detail shows the warning with the time the send
started.
The operator checks the destination and chooses:
| Action | When |
|---|---|
| Reprocess | The message did not reach the destination. It is sent again |
| Mark as delivered | The message arrived. It is closed as processed, without a new send. Recorded in the Audit Log as CONFIRMAR_ENTREGA_INCERTA |
This is rare: a planned stop (update, restart) finishes the sends in progress before the process exits, so it does not create uncertain deliveries. Only a real crash — process killed, machine powered off — in the middle of the call to the destination does. A message that had not started being sent yet is resumed automatically, with no risk of duplicating it.
Transformer error
When the Transformer fails, nothing is sent to the destination. A failure is:
- the script throws or exceeds the timeout;
- the result is empty —
{},[],nullor empty text. Whoever put a Transformer in the path expects a result, so empty is never a legitimate body to deliver.
The message is stored with the data as it arrived and the transformation pending. Each new
attempt runs the current version of the Transformer configured now on the path it came
through — if the script was fixed in the meantime, or the Collection (or Delivery) switched to another
Transformer, the message follows the fix. With no Transformer on the path, it goes out with the data
as it arrived. Once the Delivery’s Max. Attempts is exhausted, it
moves to ERRO_TRANSFORMER and the Interface is blocked, with the Interface Blocked
alert: the messages behind it would hit the same error.
| Action | Effect |
|---|---|
| Reprocess | One more attempt, with the current Transformer version. The attempt counter is not reset: if it fails again, the Interface is blocked again right away |
| Cancel | The message leaves the queue and the Interface is unblocked |
Changing the Transformer with messages waiting. When saving a Collection or Delivery whose
Transformer changed, if there are messages with a Transformer error on that path, the CMS warns before
saving: how many, on which Interface (and whether it is blocked), and which Transformer they will use
— or that they will go out without transformation, if the path was left with none. The warning
offers to reprocess the ones in ERRO_TRANSFORMER right away, which unblocks the Interface.
The message detail shows the version that failed and the current one (“Failed on v7 · current version v8”) and says whether a new version was saved since the failure. The Attempt History gets a Transformer column, with the version that ran on each attempt.
On a synchronous Delivery, the caller gets the error immediately
(errors.mensagemRecebimento.falhaTransformar, with the id_message) and the message stays
ERRO_TRANSFORMER, with no retry and without blocking the Interface. Test Bench messages never
block either.
Cancellation — /messages/cancellation

Bulk cancellation, with a confirmation screen. A cancelled message (CANCELADA) is no longer
delivered or automatically reprocessed.
Besides the word CANCELAR, the confirmation asks for the cancellation reason, which is
mandatory. Each cancelled message keeps who cancelled it, when and why, and shows it in the
Cancellation block of the detail and summary. Messages cancelled before this rule show no reason,
with a note saying so.
Cancelling is a business decision, not technical cleanup: the message leaves the delivery flow but stays in the database and in reports until retention purges it.
Content Search — /messages/content-search

Searches inside the payload, not just metadata. It answers questions such as whether pallet PAL001 was ever sent.
Encrypted payloads are not searchable by content — that is exactly what encryption prevents.
With the text index on, a rare term shows up in seconds even in a database with millions of messages. The result does not change: the search still covers the whole text and is case-sensitive. A term that appears in many messages takes as long as before; narrowing the period is what helps most.
The Ctrl+K shortcut

The same search also exists as a global shortcut: Ctrl+K opens a field from any screen in the
system, without choosing an Application or an Interface first. It is the path for when
somebody turns up with an order number in hand and the only question is whether it went through.
The popup shows at most ten results, each with the snippet around the term — enough to recognise the right message before opening it. Anyone who needs the full list follows the link at the bottom of the popup to Content Search.
Pasting the message ID works too — the full UUID or just its beginning, as the list shows it
(ac9c830e…). The message with that ID comes first, tagged by ID, in any period; the content
results follow. The id_message a Router returns is the execution id, not a message’s: searched here
or opened at /messages/{id}, it leads to the messages that execution generated.
The popup searches the last 24 hours by default; the buttons right below the field widen it to 7 days, 30 days or all, and the choice is remembered in the browser. Each search has a time limit: if the period is too large to answer quickly, the popup says so and asks for a shorter period or a more specific term, instead of spinning. With the quick search text index turned on, search answers in milliseconds over any period. Quick search looks at the first 8 KB of each content; Content Search looks at the whole text.
The quick search honours the same permissions as the screen: it reaches only the user’s Interfaces, and it does not even appear for someone with no message Tool at all. A message whose term happened to match inside an encrypted stretch is left out of the results — showing the snippet would work around the very encryption rule meant to hide it.
Export to Excel
Every message screen has an Export Excel button that downloads exactly the slice on screen: the same filters, without the pagination. The spreadsheet is built in your browser — no file holding production data is written to the server — and it stops at 50,000 rows.
Arriving here through a link
These screens take their filters from the URL: Application, Interface, Definition, status,
message id, period and the content term. That is how the message icon on the Collection and Delivery
grids works, along with the period chart’s “dig deeper”, the Ctrl+K footer and the
AI Assistant shortcuts.
Consequences worth knowing:
- The link owns the whole screen. Arriving through a filtered address clears the Interface and Definition left over from the previous visit. Otherwise the screen would open narrower than the link promised, with nothing to explain why.
?export=1downloads the spreadsheet straight away. The screen opens filtered and fires Export Excel by itself, exactly once. It is what the AI Assistant uses when someone asks to “export today’s messages”.?periodo=carries the shortcut, not the dates.?periodo=24h,?periodo=hojeor?periodo=7dopen the screen on a period that follows the clock — the link stays right days later.dataInicio/dataFimstill work for a fixed window.?campoData=retornoswitches the period to the return date, and?teste=falsekeeps real traffic only — the two the dashboards use so the number clicked matches the list.?tipoFila=COLETAorENTREGAkeeps only one of the two paths, with a removable badge on the screen. The footer’s Collections and Deliveries numbers open the list this way, and the slice also applies to exporting and to cancelling by filter.- A link to the screen you are already on works too. Clicking “Errors” in the footer from inside Messages with Error swaps the filter on the spot, and the list goes back to the first page.
- A link pasted without a session is not lost. Opening a CMS address while signed out leads to the sign-in page and, once in, to the screen you asked for — as long as it is a path of this same installation. An address on another domain is dropped along the way, so the sign-in page never becomes an open redirect.
The link is only a shortcut to the filter: the server is what runs the search, with your permission. An address pointing at an Interface you cannot see opens empty, never with its data.
Message Detail — /messages/:id
Download PDF, Send by e-mail, Resend and Open ticket sit in the Actions box, to the right of the data — on the page and also in the popup opened from the message list, where they used to be in the header.
Everything about one message:
- Received payload (and the transformed one, when a Transformer applies)
- Attempt history: timestamp, outcome, destination response, error message
- Time to delivery, broken into parts — see below
- Decrypt action, when the payload is encrypted — requires authorization, re-authentication and a justification (see Security)
- Send by e-mail, which sends the message PDF to CMS users — see below
- Resend, on an already processed message whose Definition allows it — see below
- Reprocess and Cancel, on a failed message — see below
- Open ticket, on a failed message: opens a Help Desk ticket already filled in with the Application, the Interface, the error and the message link — see Help Desk
- Assigned variables, on a Collection message that feeds variables — see below
- Forwardings not made, when the condition of a Collection forwarding or of a Forward Response was not met: the destination and the reason, rule by rule. A Processed message with no child in a destination no longer looks like lost data — the rule decided
On the message card, the status and the origin (Trigger, Router, ticket opening) sit next to the ID, and the actions are in an Actions column on the right. Each action only shows up when it applies to the message and to whoever is looking.
Whoever can edit in Message Definitions sees a pencil next to the Definition, at the top of the message: it opens the editing of that Collection or Delivery in a new tab.
Reprocess and Cancel from here

On a message in Delivery Error, Business Error, Collection Error or Transformer Error, the Actions column carries the Reprocess and Cancel shortcuts — no going back to the list to find the row. They are the same actions, with the same confirmations, as the Delivery Errors and Cancellation screens: the reason is mandatory and is stored on the message, and reprocessing shows the checked result until the message ends.
Each shortcut only shows for whoever has the Tool of the matching screen — Messages with Error for Reprocess, Cancel Message for Cancel. A processed, cancelled or still in-progress message shows neither.
What was queried and what was executed
On a Collection message, the What was queried block shows what the Collection used to fetch the data, by type:
| Type | What shows |
|---|---|
| HTTP and SAP RFC | the request or the function call |
| SQL, InfluxDB and MongoDB | the query that ran |
| PI Web API | the read mode, the already-resolved time window and the tags with their PI path |
| OPC UA and Modbus | the server, the trigger with the value read and the expected one, the tags read and whether the trigger was reset |
| MQTT and Sparkplug | the broker or the subscribed filters and the topic the message arrived on |
| File | the file read, the mask and what was done with it after reading |
| SAP IDoc | the IDoc header and the filters it matched |
| Composite | per alias, each part: the Collection, the stage, the status (ok, vazia, erro, timeout or nao_executada), the time, the error and what it sent to the source. An optional part that failed is marked ignorada |
On a Composite Collection that failed, the block also shows on the message in error: that is how you find out which part broke, and what it managed to send.
On a SQL Delivery (SQL Server, Oracle, PostgreSQL and SQLite), the return carries the Executed command block: the command with the values in place of the parameters and a table with each parameter, its value and its source (Message, Input Parameter or Variable). A Variable’s value is never stored, since it may hold a password or key; only its name shows. When the message has encrypted content, the values that come from it are left out too.
The With values | With parameters switch, above the command, toggles between the command with the
stored values in place of the parameters — ready to paste into a SQL client — and the command as the
database received it, with @name, :name or $1. It is read-only: the database always received
the parameterized command. A Variable has no stored value and stays as a parameter in both views. The
switch only shows when the two views differ.
Assigned variables

On a Collection message with Assign variable, the Assigned variables section, below the Attempt History, shows what each row did with that reading:
| Column | What it shows |
|---|---|
| Variable | Name, with a link to the variable’s screen |
| Application | Whose variable it is: the owning Application — which may not be the Collection’s — or Global |
| Value source | The field (or “whole data”) and the Transformer, when there is one |
| Value read | Only with a Transformer: the data as it arrived, before it |
| Previous value | What the variable held before this reading |
| Assigned value | What was stored |
| Result | Changed, Unchanged (the reading brought the value already there) or Not assigned, with the reason |
A long or multi-line value shows up as a file icon; clicking it opens the content in the same viewer as the Payload, with format, copy and download. In the message popup the table comes last, compact — Variable, Application, value and result —, with the previous value below the assigned one.
Since November 2026 the Delivery also assigns a variable, through Forward Response: there the value comes from the destination’s response, and the Assigned variables table shows up on the Delivery’s own message, the one that received the response. The rules are the same: a test message and a resend do not change the variable and show as Not assigned, with the reason.
The record starts with messages processed from the version that introduced the feature (October 2026). Earlier messages do not have this information.
When the producer has its own Transformer
On a Delivery with a Transformer by producer Application, a message that went through it has one more piece of content, and the detail shows all three in the order they happened:
| Block | What it is |
|---|---|
| Payload Received from the producer Application | What the producer sent, in its own format |
| Converted to the Delivery format | What came out of the producer’s Transformer — the input of the Delivery Transformer |
| Transformed Payload (Delivered) | What was delivered to the destination |
Without a Transformer on the Delivery itself, the converted content is the delivered one, and the middle block does not appear. The Producer Application transformer field says which one ran: it is the name recorded at the time, which stays there even if the Transformer is renamed or deleted later. The PDF and the e-mail follow the same order, with a link to each part.
What the producer sent also follows the Delivery’s Encryption Rule — see Security.
The raw content, and the link to it
The expand icon on each content block — received, converted, delivered, return — opens the viewer, which does more than show the text:
| Button | What it does |
|---|---|
| Formatted / Original | Formatted re-indents the JSON for reading; Original shows the content exactly as it was stored — the mode that serves to compare against what the other system says it sent |
| Copy | Copies the text to the clipboard |
| Download | Saves the original content to a file, with the extension deduced from the content itself |
| Link | Copies an address that opens this screen with this content already open |
The byte counter beside it is for the original content, never the formatted one: it is the number you check against the log on the other side. And it counts UTF-8 bytes, not characters — a payload with accents has more bytes than letters.
Download and Link only appear when the content belongs to a message. The same viewer opens the sample payload of a Definition and the Audit Log detail, and there it stays read, copy and search.
The address the Link button copies is /messages/:id?view=received|converted|delivered|return — plus
&attempt=N when it points at a specific attempt. It is the same link printed in the message PDF
and in the e-mail: the PDF truncates long payloads, and this is how whoever received the attachment
reaches the whole text.
The link does not hand content to whoever holds the URL: it opens the screen, which asks for a sign-in and applies your Tool and your interface scope like any other. An address that served the payload directly would end up on the mail server, in forwards and in the proxy log — and there it would be worth a password. Encrypted content does not open through a link either: it still requires the decryption flow, with authorization, justification and a record.
For whoever needs the text outside the screen — comparing, counting bytes, reproducing a case —
there is GET /api/messages/:id/raw/:part, with part in received, converted, delivered or
return and the optional ?attempt=N. It answers the content as an attachment, reformatting nothing
and decrypting nothing. On a message that went through the producer’s Transformer, received is what
the producer sent and converted is what was converted to the Delivery format; outside that case,
converted answers 404 instead of repeating the received content under another name. Pasted into the address bar it would answer 401, because the API only
authenticates by header; that is why there is also the page /messages/:id/raw/:part, the same
content opened with the browser session, filling the screen with no menu around it — the URL you
paste into a ticket.
The total time, broken down
The “received → delivered” interval on its own is misleading. On an Interface scheduled every 55 seconds, a message that arrived right after a cycle sits idle for almost a whole cycle before any processing happens — and the total reads as CMS slowness when it is in fact the scheduling interval plus the destination’s response time.
So the detail shows the total and, beside it, the parts:
| Part | What it is |
|---|---|
| Queue wait | From arrival to the first dispatch: the Interface scheduler cycle |
| CMS | Internal processing — transformation, persistence |
| Destination | How long the destination system took to answer, on the last attempt |
| Attempts | How many times it was tried, when it was more than once |
This is what separates “CMS is slow” from “the schedule is one minute” and from “the ERP is taking eight seconds per call”.
Timeline

The Timeline card tells the message’s story in order, with each event’s time and the interval
since the previous one (+1.6s, +2d 11h 38m):
| Event | What it shows |
|---|---|
| Received (or Collected) | Where it came from: producer Application and IP, Trigger, Collection, origin message of a forward, resend (of which message and by whom) or Test Bench. Also the size and the producer’s Transformer |
| Attempt N: sent | Who ran it (cms-worker-1, cms-api-2…) and the Transformer version used |
| Attempt N: success / failure | HTTP status (when the target is HTTP), how long the target took to answer, the error and the Business Error found |
| Interface blocked / unblocked | When this message blocked the Interface, and who unblocked it |
| Forwarded / Resent | The messages it generated |
| Reprocessed | Who reprocessed it, when and why |
| Outcome | Delivered (with the total time), Cancelled (with who and why), stopped at an error or still open |
The timeline links (see origin message, see message) open the other message’s summary on top of the screen, without leaving the detail. The same timeline goes into the message PDF.
“Who ran it” is the name of the process that made the attempt. It only exists for attempts made from this version on; for earlier ones the timeline says the runner was not recorded.
Send by e-mail
The Send by e-mail button generates the message PDF and sends it as an attachment to one or more CMS users. Three details are worth knowing:
- The PDF is the same one the download button produces: same generator, same document.
- Recipients come from the user registry, filtered by who can see that Interface. There is no field to type an address — that would turn the button into a way of sending production payloads anywhere.
- The send is recorded in the Audit Log with the attachment’s hash: it can be proven later which file went out, without CMS keeping a copy of it.
The action has a Tool of its own, /messages/email. Being able to see a message does not, by itself,
grant the right to send it outside.
Resending a processed message
Sometimes the destination received the message but lost or undid it — and asking the producer to generate everything again is the expensive path. The Resend button sends the message again through the CMS.
It shows on the message detail, on the summary popup and on the Processed Messages row, when all of this holds:
- the message is Processed;
- its Definition has Allow resend on;
- the profile has the Resend Processed Message Tool (
/messages/resend) — among the default profiles, only CMS_Developer; the Monitor ones do not, because resending writes to the real destination; - it was not created by a forwarding, and is not a ticket message.
A resend never reopens the original: it creates a new message, linked to it. The original stays Processed, with its own history, and shows Resent as with a link to each copy; the new one shows Resend of and who asked for it.
| Definition | What goes again |
|---|---|
| Delivery | The payload the original received, as it arrived, goes through receipt again with the current Transformer and settings — the most common reason to resend is “we fixed something and need to send it again”. On a synchronous Delivery, the popup shows the destination response |
| Collection | What was already collected is forwarded again to the current destinations. The source is not fetched again. With the Interface blocked, the message waits for the unblock |
Before going, the popup says where it goes — the Delivery destination, or the Collection
destinations, and the forwardings that run again — and asks for the confirmation word. Each resend
is recorded in the Audit Log, as REENVIAR_MENSAGEM.
A message created by a forwarding has no button: its Transformer is the forwarding’s. To send again a delivery born from a Collection, resend the Collection message — it forwards and generates the delivery again.
Where to act in bulk
Bulk actions over larger volumes — blocking interfaces, reprocessing or cancelling what is pending — live in the Danger Zone, with a typed confirmation and an audit record.
The Integration Flows screen (/message-management, formerly called Message Definition) is not about
individual messages: it is the unified view of an Application’s Collections and Deliveries. It is
described in Configuration.