Workflow Task ID of a newly created Workflow item?

  • 30 November 2018
  • 3 replies
  • 1 view

Badge +1

How do i get the Workflow Task ID of a newly created Workflow item?

What I'm trying to do is get the attachments that are added inside a workflow. I used a custom .js to get attachments added on the initial form but i need to do a list lookup (i think) of the Workflow Tasklist to be able to bend that .js to get the attachments kept there. 

I tried to do a query list where the related content = the request title... that didnt work, then i tried a related content 'contains' the request title and that almost works. 

Can anyone get me closer?

Thanks!


3 replies

Badge +9

As i know, you can store a task id on a variable. You will find that inside task action. And then query your task list to match ids. Check your task list from workflow settings.

Badge +1

Thank you for your response. I'm not really able to follow, could you elaborate please?

Badge +9

Reply