Skip to main content
August 23, 2023
Solved

Refreshing Dashboard and Parameters after a DM Job

  • August 23, 2023
  • 2 replies
  • 0 views

I want to run a DM job from a dashboard (with the task popup showing progress, so no background running) and then when finished have the originating dashboard refresh after updating a parameter used in the dashboard.   If I call the DM job directly from the dashboard I am not sure how to return a task result that will update the parameter value in the dashboard.  I tried using a BR that called a DM job and then updated the parameter and refreshed the screen. However, when running it this way the popup did not appear and it just froze the screen, sort of negating the value of using the DM job.  Has anyone successfuly tried to do something like this before?

Best answer by SStalker

Data Management jobs are background tasks and are started in a separate thread.  So the dashboard has no way of knowing about the status of DM job completion.

2 replies

SStalkerAnswer
August 25, 2023

Data Management jobs are background tasks and are started in a separate thread.  So the dashboard has no way of knowing about the status of DM job completion.

June 4, 2024

And is there a way how to refresh the whole Application? Like using this button?


pavelwbr_0-1717513445911.png

 

June 4, 2024

Unfortunately, there is no BRApi call to refresh an application