Let's say I have a system in which a single payment ID may be associated with multiple documents. If the payment ID is only associated with one document, I just want it to flow through with the associated status. If the payment ID is associated with multiple documents, I want to use the following logic:
If a payment ID has multiple documents:
Here is the sample data:
Payment ID | Document ID | Status | Employee Name |
123 | 7410 | Paid | Lael Odonnell |
123 | 14523 | Rejected | Lael Odonnell |
789 | 45593 | In Transit | Tanek Cardenas |
676 | 10390 | Expired | Deborah Lester |
456 | 36213 | Duplicate | Melyssa Frost |
456 | 62231 | Rejected | Melyssa Frost |
Here is how the data would look after the transformation:
Payment ID | Document ID | Status | Employee Name |
123 | 7410 | Paid | Lael Odonnell |
789 | 45593 | In Transit | Tanek Cardenas |
676 | 10390 | Expired | Deborah Lester |
456 | 62231 | Rejected | Melyssa Frost |
Thanks for any help.
Solved! Go to Solution.
Attached is a workflow that runs through the various criteria options in order to return a unique & correct result. Of course, since the text input only featured 6 rows, the workflow may need adjustment when additional rows are ran through it, but hopefully this is a satisfactory starting point.