Hello Community,
I try to get a task identifier specifc to a process instance.
when I use this, I get 6 identifiers, they match the 6 instances in the record list:
a!queryProcessAnalytics( report: cons!MY_REPORT, contextProcessModels: cons!IPAY_TEST_FOR_RECORD_PM, query: a!query(
pagingInfo: a!pagingInfo(startIndex: 1, batchSize: -1) )).identifiers,
I would like to pass the fv!identifier in the record or pp!id to get the specific identifier of the process instance in the list of 6, then use that in a link to the open task in the record list.
when I use contextProcessIds: pp!id, it wont work.
How to query or is there another solution.
KInd Regards,
Erik
Discussion posts and replies are publicly visible
Hm ... process reporting can become tricky sometimes. You need to think about the type of context you want to report on. Passing pp!id to a report only works when the report context is process.
Check this for OOTB reports: https://docs.appian.com/suite/help/21.4/Process_Reports.html#task-reports
Try to create a copy of "Current Tasks for Process", then pass pp!id as contextProcessIds.
Thank you Stefan,
Will look into it.
Kind Regards,