Preparation rules

How to use a trigger to check field changes.
Checking a field in a trigger is necessary if you need an event to be executed only if a certain condition is met. For example, the content of certain digits in a phone number.
Actions that can be performed in triggers with fields
When certain conditions are met, a trigger can perform mathematical and logical actions using operators, as well as being able to work with PipeLanguage functions and filters.
How to avoid the repeated execution of a trigger
This article describes the possible reasons for the repeated execution of a trigger for the same condition.
How to set up a trigger chain
A Trigger chain is a sequence of communications that are aimed at automatically informing the customer about the progress of their order via timely updates.
Working with products in triggers, validations and price types
Order details are an array of data, therefore, working with them is conducted using special filters created in PipeLanguage. In this article, we will analyse how to work with filters in price types, triggers and validation and in the context of products.
Points to note when forming a validation
Validation is designed to create additional checks for changes in fields that the user makes in the system.
Checking the executions of triggers and validation
If you need to check a trigger or validation for correct functioning, you can use the actions log, which displays each execution and, if it occurs, an error with a detailed description.
Working with http requests in triggers
When working within the system, you may need to send information to external services from the order or customer fields. This can be done using a trigger with an http request.
#}