0

Showing dialog in trigger after update-event

I would like to show a dialog after updating a field. So I have put this code as 'Trigger after update' of a choice field. The dialog doesn't show. When I add the code to a button, it works perfectly. Is is possible to use the dialog function in the 'Trigger after update'-event? How?

let result := dialog("Title", "Message", ["Option A", "Option B"]);
if result = "Option A" then
alert("Good choice")
else alert("Great")
end

1 reply

null
    • Fred
    • 3 yrs ago
    • Reported - view

    If you are using the web version then that is by design. Dialog don't show when not used in a button. What I've been told is because triggers happen server side so the server just ignores them. 

Content aside

  • 3 yrs agoLast active
  • 1Replies
  • 516Views