Skip to content

RegexCapture Action No Match #161

Closed Answered by ChrisCollinsIBM
lmahoney1 asked this question in Q&A
Discussion options

You must be logged in to vote

The RegexCapture action does require at least one capture group.

https://www.ibm.com/docs/en/dsm?topic=actions-regexcapture

Changing the regex to "(NO MATCH)" instead doesn't abort it with an Exception

com.q1labs.semsources.sources.universalcloudrestapi.v1.workflow.action.SequenceAction] :: SequenceAction.execute(): LogAction, RegexCaptureAction, LogAction
regex no match test
[com.q1labs.semsources.sources.universalcloudrestapi.v1.workflow.action.RegexCaptureAction] :: RegexCaptureAction.execute()
[com.q1labs.semsources.sources.universalcloudrestapi.v1.workflow.WorkflowState] :: set(/regex_output, "", false)
after regex

Vs the output with just "NO MATCH"

[com.q1labs.semsources.sources.un…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ChrisCollinsIBM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants