Show the details of a single task under the grid

I have seen several examples to show the tasks of a process model. I´ve two interfaces, one for the tasks (AUTR_UserTaskReport_Dashboard) and one for task details (T_IF_IncidenciaProcesada), and I want to show both together (the second one down the firt one).

As someone already know, if you click on a task, it´ll open the task details (including the process variables, which are the ones I need access to).

The task details open in Tempo, but I want to show it down my grid, not in Tempo.

Is it possible?? Anybody know how to do it??

Thanks so much!

Pablo.

  Discussion posts and replies are publicly visible

Parents
  • +1
    Certified Lead Developer

    Hi Pablo,

    I'm the author of AUTR_UserTaskReport_Dashboard just fyi. Anyway, I believe what you're asking for is not currently possible, since as far as I know the process instance is not aware of the current state of the ACP variables within the form for a running task. Especially since those variables are subject to change unpredictably up until the task is submitted by the task assignee/owner.

    I think I recall someone suggesting, in your previous Community post perhaps, that you could access most of your relevant data via the PV values that are then passed into the task to determine the ACPs.  Accessing the PV values should be easy but will require you to create a custom process report where you add data columns for each PV you want to know the value of.  The queried report data won't reflect any PV data until you do this.

    Edit to add: Also, it looks like in your SAIL form you're passing the text process model name in as Report Context.  I believe you need to be passing in the process model itself (which I think you need to create a constant for).  I expect the way you're trying it - using plaintext - won't do anything, so it's as if you're running the report with blank context.

  • Hi Mike!

    The first, thanks for share the AUTR_UserTaskReport_Dashboard! Im going to adapt your form to my needs.

    The reason I didnt get data, was what you said, using a constant:

    local!report: a!queryProcessAnalytics(

         report: cons!T_C_RecordTask,

         contextProcessModels: cons!T_C_TestingPM,   <==   I had the PM name ("T_PM_Testing") and didnt work.

         query: a!query(pagingInfo: local!pagingInfo)              Now with the constant (type PM), its perfect!

       )

    Actually, with the data recovered from the report correctly and with you form as a template, I think I can get my goal easily.

    Thanks for all!

    Pablo.

Reply
  • Hi Mike!

    The first, thanks for share the AUTR_UserTaskReport_Dashboard! Im going to adapt your form to my needs.

    The reason I didnt get data, was what you said, using a constant:

    local!report: a!queryProcessAnalytics(

         report: cons!T_C_RecordTask,

         contextProcessModels: cons!T_C_TestingPM,   <==   I had the PM name ("T_PM_Testing") and didnt work.

         query: a!query(pagingInfo: local!pagingInfo)              Now with the constant (type PM), its perfect!

       )

    Actually, with the data recovered from the report correctly and with you form as a template, I think I can get my goal easily.

    Thanks for all!

    Pablo.

Children
No Data