"Seal field" is commonly used among our customers in a workflow. This feature can support your processes by capturing the seal reference. (see this article to learn more about using seals.)
We took a lot of care to work with many different types of seals and structures, but there may be times when a particular seal is formatted in such a way that our solution does not pick up the right code. 😕
In this case, a simple configuration on the "Regular Expression" of your specific type(s) of seals will work its magic!✨ Let's see how:
When you create a seal Field, we set the Regular Expression like this by default:
Oof... if you are not familiar with these expressions, you might feel a bit intimidated... right? But don't worry, let us explain it to you! Trust me, it's simple!
This regular expression is constructed by the following parts: [A-Z]{n}\d{n} ("n" stands for a number). To further explain these characters one-by-one:
[A-Z] matches a string of Capitalised letters from A-Z, for example, YRHA or OSN.
{n} matches how many letters does this string have. So, if it's [A-Z]{2}, that means there are two Capitalized letters, for example, MA, CB, etc.
\d{n} matches how many numbers (digit) are there. So if it's \d{6}, that means there are 6 numbers in total, as an example, 864258.
Let's now use some examples to put it into practice!
If your seal number consists, simply, a series of numbers:
For example, 004188, the regular expression is \d{6}.
If your seal number consists of several Capitalized letters and a series of numbers:
For example, MA46678, the regular expression is [A-Z]{2}\d{6}. Another example is ESCA30522, its regular expression is [A-Z]{4}\d{5}
Note: do not contain any space at the beginning nor the end.
Hope this will help you to "do it yourself" in your regular expressions.
However, do not worry if this does not work out for you! You can always get quick help by clicking the orange chat window on the bottom right corner. Send us a couple of images of such cases. We may be able to tweak your configuration! 😉