Forum Discussion

Sweez's avatar
Sweez
New Contributor III
2 years ago

Refreshing Dashboard and Parameters after a DM Job

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?

  • 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.

  • SStalker's avatar
    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's avatar
    pavel-wbr
    New Contributor II

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

     

    • SStalker's avatar
      SStalker
      New Contributor III

      Unfortunately, there is no BRApi call to refresh an application