Hi Experts,
I am actually working on Task List Query and I hope I understand the concept behind it. With my understanding I am trying to do something that is mentioned below but wonder how I can move in that direction. Can any of you throw some light on the discussion?
Thanks in advance.
Background: I have two stateful workflows (WF1, WF2) with two process variables for each workflow as outputs and one process variable as input for each one of them. Both of the workflows will dump the tasks into a common work queue (My_WorkQueue). Please note that the process variable name is same in both the workflows.
WF1
- - PV1 – Input
- - PV2 – Output
- - PV3 – Output
- - Work Queue - My_WorkQueue
WF2
- - PV1 – Input
- - PV2 – Output
- - PV3 – Output
- - Work Queue - My_WorkQueue
Using the above mentioned configuration, I can create a Task List query depending on work queue tasks for specific workflow either WF1 or WF2 and I can define input and outputs for that query as either “Task” specific attributes or “Variables” for the selected workflow.
Requirement: My requirement is how we can display both the workflow tasks in a single Task List Query with few of the columns as Process Variables. See the table below for better understanding of my requirement.
Task Name | Assigned Date | Due Date | WorkQueue Priority | PV1 | PV2 |
WF1_Task1 | 15-Aug | 20-Aug | 10 | WF1_Task1_PV2_Value | WF1_Task1_PV3_Value |
WF2_Task1 | 10-Aug | 20-Aug | 30 | WF2_Task1_PV2_Value | WF2_Task1_PV3_Value |
WF1_Task2 | 15-Aug | 20-Aug | 10 | WF1_Task2_PV2_Value | WF1_Task2_PV3_Value |
WF1_Task3 | 15-Aug | 20-Aug | 10 | WF1_Task3_PV2_Value | WF1_Task3_PV3_Value |
WF2_Task2 | 10-Aug | 20-Aug | 30 | WF2_Task2_PV2_Value | WF2_Task2_PV3_Value |
WF2_Task3 | 10-Aug | 20-Aug | 30 | WF2_Task3_PV2_Value | WF2_Task3_PV3_Value |