invoicenum
. invoicenum
variable, it becomes a Number type variable. invoicenum
variable to a string data type using the "Convert number to text" action. SET CurrentItem TO 453456
**REGION Check if the Currentitem variable has six digits and show a message box if it does
Text.ParseText.RegexParse Text: Currentitem TextToFind: $'''\\d{6}''' StartingPosition: 0 IgnoreCase: True OccurrencePositions=> OccurrencePositions Matches=> Matches
IF Matches.Count > 0 THEN
Display.ShowMessageDialog.ShowMessage Title: $'''Validation''' Message: $'''The Currentitem variable contains six digits.''' Icon: Display.Icon.Information Buttons: Display.Buttons.OK DefaultButton: Display.DefaultButton.Button1 IsTopMost: False ButtonPressed=> ButtonPressed
END
**ENDREGION
eetuRobo
25
Super User 2025 Season 1
Nived_Nambiar
14
Super User 2025 Season 1
KO-05050229-0
6