v1

latestOpenAPI 3.0.12026-07-14162344.9 KB
Functions

Get a custom action function

Returns the given function for a custom workflow action.

get/automation/v4/actions/{appId}/{definitionId}/functions/{functionType}

Path parameters

definitionIdstring required

The ID of the custom workflow action.

functionType'PRE_ACTION_EXECUTION' | 'PRE_FETCH_OPTIONS' | 'POST_FETCH_OPTIONS' required

The type of function. This determines when the function will be called.

appIdinteger required

Response

successful operation

functionSourcestring required

The function source code.

functionType'PRE_ACTION_EXECUTION' | 'PRE_FETCH_OPTIONS' | 'POST_FETCH_OPTIONS' required

The type of function. This determines when the function will be called.

idstring

The ID qualifier for the function. This is used to specify which input field a function is associated with for PRE_FETCH_OPTIONS and POST_FETCH_OPTIONS function types.