AnsweredAssumed Answered

Branch condition taken after an analysis of all the records

Question asked by samuele.vigano020435 on Aug 4, 2016
Latest reply on Aug 5, 2016 by Srinivas Chandrakanth Vangari

Hello.

I'm implementing a process in which I need to make a comparison between two date fields of the same flat profile.

I have multiple records for the same userID and the value of the first date field is always the same in all these records.

So I have to check for every record if the value of the second date field is equal to the value of the first date field.

I tried to implement this situation using a "data process shape" to split the documents by line and a "decision shape" in which I put the equal condition between the first date and the second date.

I noticed that this implementation works in case of no matches between the date values, because only false branch after the decision shape is taken.

But in case of a match between the date values I faced an issue because both branches are taken, instead of taking only true branch.

How can I solve this issue? Is it possible to implement something that takes a "decision" only after that all input documents have been analyzed and compared?

Thank you

Outcomes