Skip to main content
Nintex Community Menu Bar
Question

Get the Task ID from the Task Responses collection

  • March 16, 2026
  • 6 replies
  • 42 views

Forum|alt.badge.img+2

To store who has completed a task, when and store the comments, I run 2 loops:

  • one on the tasks with same workflow instance ID
  • one on the tasks responses

With the 1st loop, I get almost everything: the task ID, the assignee, the outcome, who has completed and when. Unfortunately, I cannot get the field values from the form (above all, a comment field) and the express approval comment.

That’s why I run the 2nd loop. With this loop, I get the field values from the form. I use the form URL to calculate the task ID and I complete my history log table because I have this task ID.

I’ve discovered that the form URL becomes empty when the assignee completes the task by express approval. How can I get the task ID to store the express approval comment on the right place in my history log?

Can someone help? Thanks.

6 replies

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • March 17, 2026

Hi ​@FranckGarcia,

Have you tried the Nintex Workflow actions?
You can retrieve a list of tasks for the workflow instance, which includes the Task ID, and then retrieve more information about a particular task if required.
 

 


Forum|alt.badge.img+2
  • Author
  • Rookie
  • March 18, 2026

Hi ​@Simon Muntz 

Maybe I am missing something but I could not find any comment property under Get Tasks or Get a Task. Therefore, no way to get the comment from the express approval.

I need both the ID and the comment under the same list of actions. Storing the information in a table will help auditors to ensure that approval process is following the policy.

For the other details like the outcome, who did respond and when, I can find them. But comments are important. 


Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • March 18, 2026

Hi ​@FranckGarcia,

My apologies, I misunderstood your post and thought you were only after the Task ID.

It appears that the Nintex Actions are based on V1 of the Nintex Workflow Tasks API.
Looking at the API documentation, it looks like the information you are after is available in Tasks V2.
https://developer.nintex.com/docs/nw-api-docs/ref/tasks-v2/operations/get-a-task

You could use a call a web service action to retrieve this information, or create a Nintex Xtension for the API. https://help.nintex.com/en-US/xtensions/

If you would like assistance with an Xtension please see the URL in my signature below.


Forum|alt.badge.img+14
  • Nintex Employee
  • March 19, 2026

@Simon Muntz ​@FranckGarcia So the task actions do use v2, it just there has been changes in schema since the out of the box action was updated. I have raised a backlog request to update the object used in our out of the box option but i don’t have a timeline, In the interim we do have a gallery xtension here(https://gallery.nintex.com/t/NintexWorkflowCloudAPI-v) that with some slight tweaks to support the 

taskAssignments(https://developer.nintex.com/docs/nw-api-docs/ref/tasks-v2/operations/get-a-task) could help in the interim.


Forum|alt.badge.img+2
  • Author
  • Rookie
  • March 19, 2026

@Simon Muntz  and ​@leighburke thank you!

I will try the extension or direct API connection. I will add comments here after my testing. Anyhow, I hope that the v2 will be integrated soon in the OOB actions.


Forum|alt.badge.img+14
  • Nintex Employee
  • March 20, 2026

@FranckGarcia I am looking to get the gallery team to update that xtension in the interim, i will let you know when it gets updated.