I have a task report.
My process has 2 tasks and in parallel has a subtask that has 3 task..
When the process starts all 5 tasks started at the same time.
Parent pp!id: 1010
Child pp!id: 1011
How do I query the task report for both child and parent at the same time?
I have tried making a cdt that includes parentID and passing it to child, but can not query on it as in the report cdt.parrentId is returning a list of text within list of variant when queried.
And I can't use a query filter on a list of text within a list of variant. as includes, and = operators are not suitable from what i have seen.
Discussion posts and replies are publicly visible
I would recomment a task report over multiple processmodels:
Get the processes for a process model by passing a process model to the context: a!queryProcessAnalytics( report: cons!PROCESSES_FOR_PM, contextProcessModels: cons!PURCHASE_REQUEST )
cons!PURCHASE_REQUEST -> constant with multiple process models. -> your main process and the sub process.
checkdocs.appian.com/.../fnc_system_a_queryprocessanalytics.html
This is an alternative to setting the report to include subprocesses which I am doing at the moment.
This does not help with querying the tasks of a particular active process and its subprocesses.