Refreshing Dashboard and Parameters after a DM Job

Sweez
New Contributor III

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?

1 ACCEPTED SOLUTION

SStalker
New Contributor III

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.

View solution in original post

3 REPLIES 3

SStalker
New Contributor III

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.

pavel-wbr
New Contributor II

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

pavelwbr_0-1717513445911.png

 

SStalker
New Contributor III

Unfortunately, there is no BRApi call to refresh an application