Running dmx-on:click in Toast message?

I'm trying to trigger an app flow from an on click on an a tag in a Toast message, but it's not working. Should this be possible?

image

What about an ugly workaround?

Create a flow doing what you need and then with js:
Getelementbyid (link id) .click parse run flow?

Must say, thinking loud

I just don't understand what is keeping the on click from working in the toast message. Looking at the runtime code it appears properly formatted like any other on click event. I also tried changing from an a to a button, but it didn't help.

Has been reported a few times, this is working, maybe you can use it:

<a href="javascript:void(0)" onclick="funcion()">click aca</a>
<script>
    function funcion() {
            dmx.parse("content.flow1.run()");
        }
</script>
2 Likes