I have a list view with instances of my business object (report instances). These are coming from our own SQL db. These items run through a workflow. A person has two lists. 1: Worklist (all his tasks) with to these tasks attached a report instance; 2: A list of all Report instances.
I would like to support the following scenario:
A user opens an item from the Report Instances list. Check whether this item has currently send out a task to the user who opens this item, so he is able to action the item from here.
What I would need is:
Find the tasks assigned to the user, where the related workflow of the task has input variable InstanceID=Value of parameter InstanceID.
Does anyone know how to retrieve the task serial no based on user and variable value?