You are viewing limited content. For full access, please sign in.

Question

Question

Pattern Match with RegEx works in testing but not when WF is run

asked on August 19, 2021

Why would my pattern match work in testing but not work when the workflow is run on a test document?  I have rerun the test numerous times and made sure my Retrieve Text that is being used for the pattern match is copied from a previous run, so it is an accurate test of what it needs to work on.  Yet, a test run of the workflow ends up in a blank pattern match.

Testing the Pattern Matching token with RegEx:

What the tokens are catching in the Run Workflow test:

0 0

Replies

replied on August 20, 2021

In this screenshot, the "roll number" value looks to be just 365700. Did you maybe tweak the pattern for that and it's not getting the full row?

0 0
replied on August 20, 2021 Show version history

In testing, it is still bringing in the right roll number into the token for the pattern matching to use.  Just ran another quick test:

And PatternMatching is currently set as:

0 0
replied on August 25, 2021

Miruna, I created a simplified workflow and tested the pattern matching (same pattern) and tested on the same document but without using a token for the roll number.

  • pattern matching hard coded works
  • pattern matching using the "Allow tokens in the pattern" option is not working (well, it works when testing the pattern matching activity; but does not work in a live workflow run).

Is there maybe a problem with this part of the the activity tool?

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.