How to run a single VQL query to retrieve documents associated with a workflow?
A single VQL query cannot be used to retrieve documents associated with a workflow that contains document information.
However, 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.