Skip to main content

Message Search Rules

When defining a rule for message search, it is first determined for which flow this search will be made. Then, the XPath or JSON Path expression that will be used to search within the messages in this stream is determined. This expression is used to target a specific area to search in the message content. When a message arrives, it is examined according to the specified rule and if a field compatible with the XPath or JSON Path expression in the message is found, the value of this field is stored in the database together with the message ID. In this way, important information in messages that comply with the relevant rule is kept in the database. This type of message search and value storage process is often used in cross-system integrations where data flow needs to be monitored, analyzed, or recorded.

FieldDescription
FlowID of the flow for which the rule will be used.
NameMessage Search Rule Name.
TypeThe suitable option, either JSON path or XPath, is chosen based on the format of the message.
ValueThe value to be searched is specified. It should be written in accordance with the type chosen.
EnabledIf checked, message search rule will be activated.

Clicking the three dots under the "Action" heading offers the following options:

  • Edit Rule: Allows changing rule details.
  • Delete Rule: Allows the removal of rule.

Here are a few examples of what functions this process can have in integrations:

  • Data Monitoring and Analysis: Can be used to monitor and analyze data exchange between two systems. Capturing messages sent under certain conditions and analyzing the values within them can help identify potential problems or trends in inter-system communication.

  • Event-Based Workflows: Can be used to track situations where a specific event occurs. For example, when a customer places an order and is sent a message that the order is being processed, it can track those messages and record relevant data.

  • Error Monitoring and Troubleshooting: Can be used to monitor and troubleshoot errors that occur in communication between systems. By finding and recording erroneous messages that occur in a particular situation, it is possible to analyze their causes and take corrective measures.

  • Data Security and Audit: Can be used for data security and audit purposes. It can be used to verify and audit that this data is processed securely, especially in cases where sensitive data is transferred.

  • Reporting and Statistics: It can be used to create reports and track statistics regarding the message exchange between two systems. In particular, you may want to store and analyze historical values of a particular data point.