Skip to main content
Known Participant
November 25, 2021
Question

link to task in a process backed record grid.

  • November 25, 2021
  • 2 replies
  • 3 views

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.

  • 1067516(Number (Integer))
    • 1067535(Number (Integer))
      • 1067554(Number (Integer))
        • 1067612(Number (Integer))
          • 1067574(Number (Integer))
            • 1067600(Number (Integer))

            when I use contextProcessIds: pp!id, it wont work.

            How to query or is there another solution.

            KInd Regards,

            Erik

            2 replies

            stefanhelzle0001
            Brainy
            November 25, 2021

            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.

            erikb0001Author
            Known Participant
            November 25, 2021

            Thank you Stefan, 

            Will look into it.

            Kind Regards,

            Erik