Skip to main content
Newcomer
July 7, 2022
Solved

Open dialog box or dashboard window through business rule

  • July 7, 2022
  • 2 replies
  • 0 views

Currently I have a button on a dashboard that will run a business rule that checks if a specific load task is completed.  If it is, it will trigger a data management job to run.  If the load job is not completed the process ends.  I would like to trigger a pop-up window telling the user if the data management package is not going to run.  So far I have been unable to figure out the commands to do this with-in my business rule.

 

Thanks,

Tom

Best answer by Cosimo

Use XFUserMsgException in your BR:

 

Throw New XFUserMsgException(si,Nothing, Nothing, "The data management package is not going to run")

 

2 replies

CosimoAnswer
Contributor
July 7, 2022

Use XFUserMsgException in your BR:

 

Throw New XFUserMsgException(si,Nothing, Nothing, "The data management package is not going to run")

 

Contributor
July 7, 2022

Here's a screenshot on how the pop-up box looks like. It's not the prettiest message I'd want to see (the 1st line I can do without) but an easy one line of code that can be added to any business rule.

Cosimo_0-1657200038695.png

 

Tom_RAuthor
Newcomer
July 7, 2022

Works great.  Thanks.