Custom subroutines

This can be used to define custom value resolvers, rules and actions. Which are used to implement re-usable solutions to certain problems. This avoids implementing redundant workflows or calling separate event handlers.
They are comparable to functions in software development. Rules and value resolvers also return a value.


images/download/attachments/153256261/image-2023-12-11_15-16-2-version-1-modificationdate-1702304140057-api-v2.png

If Is optional is not checked for the input type or a parameter, the subroutine is not executed unless the value is available or cannot be converted to the input type.

The direction must also be specified for parameters. 'Read', 'Write' and 'Read/Write' are available here.

If a result type is given, a value resolver 'result' is available in the 'Parameters' category. The value of this parameter will be returned by the resolver module.

IMPORTANT◄ No variables are transferred or written back. All necessary data must be read in and out via the parameters.