I am trying to create a Workflow that will query a SQL database to retrieve values and assign metadata fields. I have done this before with Real Time Lookup in QuickFields but running into a problem trying it in Workflow.
All the documents are in a single folder in Laserfiche. The Query data tool is configured to query the correct table. The document names are what i am using to query the table with to return the correct row. However, when I run it, it assigns the same query values to all the documents.
Here is what I have in the Workflow:
The "Find Entries" step is configured to look at the Folder ID where all the documents are stored in LF.
Then the "Query Data" step uses the document name to query the table in SQL where all the data is that I want to create tokens for. The query is working in that it is able to return data and assign it to metadata fields but all the documents end up getting the same exact metadata. So something is not working as I need it to.
I have this set up as a Business Process so I can run it from within the Client so there are no starting conditions (other than manual).
Any ideas as to where I made a mistake?
Thanks,
Eric