The SEMINE Rule Engine supports use of RegEx in the condition criteria. RegEx is an powerful but advanced feature.
If you are new to RegEx, it is short for Regular Expression, and is a is a sequence of characters that specifies a match pattern in text. It is often used in computer programming. We will find RegEx as an option in many of the automation rule criteria settings. This allow you to create very specific criteria that can be very useful in many scenarios.
RegEx is found as an option after you have chosen the criteria parameter. Below is an example where the Order Reference is chosen as parameter. We then choose RegEx in the drop down menu.
When you have chosen RegEx, you can define your RegEx code.
Here is an example where it is used to find Order Reference numbers starting with two letters, followed by 6-8 numbers.
^[A-Za-z]{2}\d{6,8}$
When this is defined, our automation criteria will say that only invoices that has an order reference that starts with two letters, followed by six to eight numbers should have the rule action executed.
If you are not familiar with RegEx and how to use it, we recommend getting help by some one who knows how.
Comments
0 comments
Article is closed for comments.