Hi All,
I am using regex match to validate some values but after 20.1 upgrade system is very slow & appian support team is saying it is due to regexmatch.
Can regexmatch go to long running process or infinite loop( no loop has been use to in regex ).
Any help would be appreciated .
Discussion posts and replies are publicly visible
Why not provide some details? What do you want to achieve, what did you try? Do you use regex a lot? How does the regex look like?
codeblog.jonskeet.uk/.../
Not using regex much. Using only on very specific places. i.e. regexmatch(pattern,searchString ).
Place where used, email validation, phone number validation, data restriction ( only number/decimal).
Then you will need to dig deeper. Ask the support team for more details.
Support team only told us about the regex. Accordingly them it seem regex function executing thousand time in a day but we are not using regex in so many places or even not opened those interfaces .
OK, we need more details to be able to help. Dig deeper, ask for more details.
Check admin console / monitoring / rule performance for rules using regex and check execution times
Try to isolate the issue
Execution time and other seems fine to me, i checked but i am not able to get how regex can be hit thousand time automatically.
One thing you could try to do to alleviate the problem is to stop using regex wherever there's an out-of-the-box Appian function that does the same thing. You use it for email validation, I think Appian functions could handle that easily. Phone number format could also be easily handled. If you need data to be restricted to an integer, why not just use an a!integerField? If you need it restricted to a decimal, why not an a!floatingPointField?
I'm not saying regex is bad; but it simply may be overworked because it's being overutilized. Try limiting it to those use cases Appian CAN'T support without regex.
Hi Abhay,
We are also facing similar issue. Did you find any root cause for this issue ?
Thanks,
Yogesh