UiPath freezes when I am using Matches activity

Hi,
I have this workflow where I am extracting data from the PDF. For 1 or 2 PDF files my bot freezes after the Matches activity.

It doesn’t go into the else part of the If when there is no match for Child name.
Attaching the workflow
UiPath_ExtractDataFromCHET.xaml (38.0 KB)

Thanks

Hi,

How long is your string?If it’s too long, it may take much time.

Regards,

It freezes here:

Hi,

To isolate cause, can you try to separate the expression?

strTemp = temp(0).Groups("ChildName").ToString()

Strings.Split(strTemp).ToList()

If Strings.Split takes long time, how about using strTemp.Split(" "c).ToList

Regards,