dotdot
dotdot

Reputation: 1

ID number validation on workfusion

I'm working on workfusion and my process is extracting 13 digit ID number from email subject line, how do I ensure the validity of the ID number i receive from the email?

Upvotes: 0

Views: 49

Answers (1)

Andrey
Andrey

Reputation: 6786

Since you can use Java in WorkFusion, easiest is to use a regular expression. E.g. to validate 13 digit string:

if (idString.matches("[0-9]{13}")) {
     ....
}

Upvotes: 0

Related Questions