IEnumerable<Match> as argument

Dear UiPath community,

I am trying to push the results of a match activity into another workflow by using argument out, i tried (almost) everything.
Somehow it’s not being sent after i import the argument. What would be the correct argument type and expression to print the IEnumerable as a string in a new workflow?

Many thanks and greetings,
Stijn

Hi @uiStijn

Ienumerable match needs to be converted to string …you can try this

String(",",ienum.select(function(x) x.value)

System.text.regularexpressions.regex.matches for collection of match

Cheers

Hi,

Hope the following sample helps you.

Caller

Calee

Sample

Sample20221222-6aL.zip (3.7 KB)

Regards,

Hover your mouse over the output property of the Match activity and it’ll tell you the datatype.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.