Skip to main content
Insert Banner Message here.

Community

Search

Welcome to Community

How to get list of My Tasks (Open Activities) via Vault API

Answered

Comments

4 comments

  • Krishna Kant Saraswat

    You can try querying "workflows" object to pull the report using the query API. Something like below. This will pull all active tasks in your vault.

    https://{vault_domain_name}/api/v19.3/query?q=select workflow_document_id__v, workflow_initiator_name__v, workflow_name__v, task_name__v, task_creationDate__v, task_assignee_name__v from workflows where workflow_status__v='Active' and task_status__v != 'Completed'

     

    All fields that can be queried on workflows are provided in the link here. https://developer.veevavault.com/api/18.3/#retrieve-document-workflow-metadata

     

    Note: I am not from Veeva and these are my individual comments.

    0
  • Rohit Marathe

    Thanks a lot Krishna . This is a great help :)

    0
  • Rohit Marathe

    Hello Krishna ,

    I tested using query API and your solution worked perfect. I am able to query all the pending activities using your query. Thanks again for the help.

    0
  • Krishna Kant Saraswat

    Perfect, Good luck!

    0

Please sign in to leave a comment.

Powered by Zendesk