Possible to add an :operation to expression composer?

Hey all,

I’d like to create a plugin that adds an operation to an existing simple bubble data type, but I’m not sure if its possible.

As a simple example, say a user has a number, num. With the plugin, I’d like to allow the user to do:


which is an operation in the condition editor that takes a number type and returns another number type.

In my actual use case, the input and return types wouldn’t be the same. So it would be something like text -> date, number->list of texts, date -> range, etc…

Is this possible? I know I can use a custom element and have that perform an operation, but that requires a calback. Or I could use an action and use result of step x… But having it inline in the expression editor would be the simplest.

1 Like