createFunction
Create a function.
This page contains
Arguments
| input CreateFunctionInput! PREVIEW |
CreateFunctionInput fields
| tenant String | Tenant to which the function belongs. |
| name String! | Name for the function. |
| codeFileName String! | Name of the file containing the function's source code and implementation |
| active Boolean | Whether the function is active or not. An inactive function cannot be executed. Defaults to true. |
| variables [FunctionVariableInput!] PREVIEW | Variables to pass to the function during execution. |
Return Fields
| function Function PREVIEW | Created function if it was successful. |
| userErrors [CreateFunctionError!] PREVIEW | User errors preventing the creation of the function. |
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.