I am trying to display a popup message in a trigger "Request status changed".
EventData.setMessage() does not work:
I don't think the Service screens are compatible with the message box. That'll only work in Web, so not where you change tickets.
exitWithMessage() might be what you want?
You can try to add an ejScript element in your screen and use the alert function in some inline script.
Here is some untested code, but I think you will manage.
alert(\"This is a message"\");
So, depending on which trigger you are using, various properties of the EventData will have or not have an effect. For instance, blockSave will not work in an "After save" trigger. It will not work for most triggers in Service either.
The triggers for when a Request property has been changed cannot influence the UI. If you want a warning for when the category has been changed, you need to modify the screen.
LukkDette nettstedet bruker informasjonskapsler. SuperOffice bruker informasjonskapsler hovedsaklig for å overvåke trafikken på nettstedet, og for å forbedre innholdet. Fortsett å bruke nettstedet hvis du samtykker til at vi bruker informasjonskapsler. Les mer: Personvernerklæring