How to Send An Event From Your UI Without Using Lua

A customer once mentioned that for certain scenarios they found it a bit cumbersome to pass events using data from the frontend into Lua and then sending it to the back end. They remarked that it would be nice to have a way to bypass the inclusion of Lua when it comes to sending events with data payloads.

Storyboard actually does contain a way to send an event directly from the model, without involving Lua.

gra.greio is a built in action that allows you to send an event over SBIO. All as part of a built in action.

Let's take a look at the Action Parameters:

As you can see, it is the exact same parameters as if you were to be using gre.send_event from Lua. 

Events are probably easier to manage in Lua for most people. But if you feel that you need to get a lightweight event sent off without involving Lua, then this is definitely an Action you should look into.

0

Comments

0 comments

Please sign in to leave a comment.

Didn't find what you were looking for?

New post