Hi,

 

I need to know if a Read Task step in a business process has found records for the condition I am giving. Is there a Count function or a HasElements function that I can apply in a formula for a Conditional Flow in the process?



Thanks!

Ignacio.

Like 0

Like

2 comments

Hi Ignacio,

 

You can compare the Id found in the "Read data" element to Guid.Empty:

[#Read contact.First item of resulting collection.Id#] == Guid.Empty

in the conditional flow. This means that there were no records found by the "Read data" element.

 

Best regards,

Oscar

Thank you Oscar!

Show all comments