Function
A function whose code is executed on the AppDirect platform.
This page contains
Fields
id: ID! | Identifier of the function. |
tenant: String! | Tenant to which the function belongs. |
createdOn: DateTime! | When the function was created. |
lastModifiedOn: DateTime! | When the function was last modified. |
name: String! | Name for the function. |
variables: [FunctionVariable!]! PREVIEW | Variables used to parameterize the function's invocation. |
active: Boolean! | Whether the function is active or not. An inactive function cannot be invoked. |
status: FunctionProvisioningStatus! PREVIEW | Provisioning status for the function. |
codeFile: File! PREVIEW | Reference to the function's code file |
lastInvocation: FunctionInvocation PREVIEW | Result of the last invocation of this function. Null if the function was never invoked. |
Parent objects of Function
FunctionConnection PREVIEW | Paginated list of functions. |
FunctionInvocation PREVIEW | Output of a function's invocation. |
Mutations for Function
createFunction PREVIEW | Create a function. |
retryFunctionProvisioning PREVIEW | Retry the provisioning of an existing Function. Useful in case an error happened with the first provisioning attempt. |
updateFunction PREVIEW | Update an existing function. |
Queries for Function
function PREVIEW | Function by id. |
functions PREVIEW | Paginated list of functions for a tenant. |