WLinder
Canvas Initiate

Filter Workflow Task List using related content

I'm now to Nintex and may be missing something or approaching the problem incorrectly. 

Using On Prem SP2016 Nintex Forms and Workflow.

Here is my problem.  I have a list with a many step state machine workflow for approval.  On the List form I have a listview control Showing a view of the Workflow Tasks List with the task outcomes etc.

I would like to filter that is view to only show the tasks related to the current Item.  I tried using the Related Content field but cannot get it to work.  What is the best way to approach this problem?

Thanks

Labels: (1)
0 Kudos
Reply
2 Replies
Tarf
Design Canvas Artiste

Re: Filter Workflow Task List using related content

Hi @WLinder,

try this:

  • add a single line of text column to your list to store the workflow instance id in.
  • In your workflow, add a action which writes the instance id to the new single line of text field
  • Optional: At the end of your workflow, clear the field
  • In your form, add a list view with a filter on the instance id

 

0 Kudos
Reply
WLinder
Canvas Initiate

Re: Filter Workflow Task List using related content

I don't see a workflow instance column in the Workflow Tasks list so that is not going to help.

 

I think the answer will be to try and use CAML to break apart the Related Content field to get the ID of the list item that the workflow is running against. I can then use that with a list view to filter.

0 Kudos
Reply