How to Run a Single VQL Query to Retrieve Documents Associated With a Workflow?
There is no way to run a single VQL query to retrieve documents associated with a workflow that contains document information.
Create two VQL queries to accomplish this task using the Vault API:
- Query 1: Extract the document IDs from the associated workflow.
- Query 2: Use that result to extract document field details for each of the documents returned in Query.
Vault API Documentation: Vault Query API Overview
Send us your feedback: We're always looking for advice to help improve our Knowledge Base! Please let us know if this article was helpful or provide feedback on how we can improve your experience here.