Loop to search for two similar numbers

Hello,

I really need your help… I work on a platform with orders and invoices. I would like to set up a workflow loop that can say “When Invoice ID = Order ID” then “copy me the invoice information and copy it to the order fields”.

I guess I need to modify the “Only When” field in my Workflow API. But I can’t figure out what to put in it.

It sounds so simple but I can’t get out of it…

Thank you so much!

Schedule API WF on a List. Then, in the list to run, put a search for commandes. The parameters will be commandes (single item) and factures (list) so that you can search for invoices with the constraint Order ID = This commandes Invoice ID. Then trigger a backend WF and just make changes to factures. Put the needed data, for example, if you want to copy the name, then just do Name = commandes name.

This topic was automatically closed after 70 days. New replies are no longer allowed.