--- title: "Custom subroutines" slug: "core-action-block-configuration" status: "update" updated: 2026-11-26T13:32:14Z published: 2026-11-26T13:32:14Z canonical: "docs.lobstersoftware.com/core-action-block-configuration" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # 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](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/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.