Good day everyone,
I have kind of a convoluted problem. I have a list [list A] which has an approver field in it that has a bunch of workflows running on it. Then I have a document library [lib B] that needs to get the approver from the list [list A] to use in a workflow. Any ideas on how to accomplish that?
you could query the other list to get the approvers but how are both lists related to each other?
By what condition does the document library list workflow determine the correct approver from list a?
There is actually a second list that has approvers in it, so listA chooses the approver from listB, and the document library needs to get the chosen approver from listA.
Thanks for the reply. I will try and query the list.
I'm not really sure if I understood your scenario but would this work?
- You create an item in list A that queries approvers from list b
- the workflow starts after the item is created and updates documents in the document library with the chosen approvers
- annother workflow on the document library runs after the item was updated and approvers were saved (conditional start)
What I don't understand is how you know which documents in the library need to be approved by selecting your approver.
That is the problem I am running into now with trying to query the list, how to filter it. I have a folder that the documents are contained in that has an ID on it which matches the list item ID, but I am not sure how to traverse to it.
12-Folder1 <--- need to get the id from the folder