Refresh Data in readOnly grid with datasource a!queryProcessAnalytics

Certified Senior Developer

Hello,

I have one main dashboard that displays a readonly grid which has as datasource one expression rule in which i have a a!queryProcessAnalytics.

In the grid that I display I'm using a!processTaskLink().

The problem is in case an action is taken on one task where it should return back to the same user, it won't be displayed in the grid anymore (most of the time), only after they refresh the page.

I would like to avoid the refresh button on the page and I have also tried with refreshVariables and it doesn't work.

Any ideas how I can refresh first the grid and then display the page without being necessary to refresh the page?

Thank you!

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Let me ask you a question. From your description, it seems like when I as a user complete a task, the process directly assigns the next task to me. If this is correct, why do you do that? Wouldn't it be better to chain that next task to me so I can continue working?

    Lots of assumptions ...

    In general process execution time and task activation varies and your design should never rely in it.

  • 0
    Certified Senior Developer
    in reply to Stefan Helzle

    Hi ,

    Actually it isnt another task, it is the same one, we have implemented out of the box button "Close" which should allow to the user to navigate back to the previous page without doing anything to the task and if I set a chain the user will be redirected to same task over and over and the Cancel button wont work anymore as per requirement.

Reply Children
  • 0
    Certified Senior Developer
    in reply to Andrei Iordache

    You can use a gateway in combination with a ri/pv buttonAction (type string) directly after the task. The moment you cancel its going to an end event  the moment you go back you are chained and back at your task.

    But as I am writing this, it somehow hurts as I have the feeling pretty much like Mike....we miss quite some details what the overall idea is. From a design perspective something  feels ...."off?". Don't know if it's the right word.