SubFunction Properties
Defining SubFunction Properties
You can access a SubFunction's properties by opening the SubFunction in a function window. In the inspector, you can configure the following properties:
| Function Name | Enter a name for the SubFunction. |
|---|---|
| Min Input Count | Enter the minimum number of inputs you need to link to the SubFunction to avoid a validation error. If you enter 0, you can't connect any inputs. But, the SubFunction can still output values. The CONST function, on the String tab, is one example. |
| Max Input Count | Enter the maximum number of inputs you can link to the SubFunction. You can specify a number above 0. |
| Output Count | Enter the maximum number of outputs that you can link from the SubFunction. When you add the SubFunction to a mapping, the SubFunction icon displays the number of output nodes you specify here. |
| Allow Executable User | Enter a comma-separated list of users who can invoke the SubFunction using the FunctionInvoker mapper function. You can use wildcards to specify users in a domain, for example, "/*" allows all users in the root domain. |
Note
Note the following conditions for the function name to be valid:
- The SubFunction name must be unique in all function collections.
- You can't use the following characters in the SubFunction name:
!\"#$%&'()=~^|\\@`+*;:{}「」,.<>/?\t - The name is case sensitive.
- You can use the single-byte space character and Japanese character sets, or other multibyte character sets.
- There isn't a limit to the length of the name.
Updating a Mapping
When you modify a function's inputs, outputs, or function parameters, you need to update mappings that contain the SubFunction: in the mapping, right-click the SubFunction component and click Update Parameters.