I have created a group in the flexilayout studio to extract Invoice date. I was able to capture the value using "Date" element however for some invoices I had to capture using "Character String" element. How to provide the condition in the "Output expression" of Block element to check for any one of the values?
The best approach here is to create a new "Region"-type element. Then use the following code:
After this, you use this region element as a source for your "InvoiceDate" block.