07-07-2022 09:03 AM - last edited on 05-02-2023 10:05 AM by JackLacava
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
Solved! Go to Solution.
07-07-2022 09:25 AM
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.
07-07-2022 09:14 AM
Use XFUserMsgException in your BR:
Throw New XFUserMsgException(si,Nothing, Nothing, "The data management package is not going to run")
07-07-2022 09:25 AM
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.
07-07-2022 09:27 AM
Works great. Thanks.