Return message on successfully completed extensibility rule
Hi,
I have a data management step which runs an extensibility rule.
In the rule I am using the “Throw New XFUserMsgException” command to return error messages.
For example:
Throw New XFUserMsgException(si,"","","Error: Copy cannot be completed. Source Scenario/Year must be different from target Scenario/Year")
Gives the following result when conditions are met:
When the step completes without error a box message appears, like the following one:
How can I control the message shown when the step is successfully completed? I.e., how do I return a message in a box message without throwing an error?
If you want that level of control of the interaction with users, you should probably launch the job from a Dashboard Extender instead. At that point you're in the driver seat and can decide what to display and when. DM steps and sequences are meant as background jobs managed by the system.