I'm having it search my repository for all documents (including subfolders) in a designated folder.
Then I'm having it look at each entry and determine whether it have the "Invoice" template, or in the second conditional sequence, the "Purchase Order" template.
Depending on the template, I'm assigning tokens to store the Invoice Amount and PO# from the Invoice and then the Encumbrance Amount and PO# from the Purchase Order document.
Next, I'm doing a pattern match to see if the Invoice PO# field token matches the Purchase Order PO# field token.
If that pattern match token "is not empty", I'm asking it to calculate a new token for the Encumbrance Balance (a field for this exists in the Purchase Order template). Then I'm having it assign a new value for that Encumbrance Balance.
Currently, the Workflow does run, and it will process the first Purchase Order in the folder, but it doesn't continue on through the rest of them.