Interface WaitNodeParameters

Source
interface WaitNodeParameters {
    amount?: number;
    dateTime?: string;
    formDescription?: string;
    formFields?: {
        values: {
            acceptFileTypes?: string;
            defaultValue?: string;
            elementName?: string;
            fieldLabel: string;
            fieldName: string;
            fieldOptions: { values: { option?: string }[] };
            fieldType:
                | "number"
                | "file"
                | "text"
                | "email"
                | "password"
                | "date"
                | "html"
                | "checkbox"
                | "dropdown"
                | "hiddenField"
                | "radio"
                | "textarea";
            fieldValue?: string;
            formatDate?: string;
            html?: string;
            limitSelection?: "exact"
            | "range"
            | "unlimited";
            maxSelections?: number;
            minSelections?: number;
            multipleFiles?: boolean;
            multiselect?: boolean;
            multiselectLegacyNotice?: string;
            numberOfSelections?: number;
            placeholder?: string;
            requiredField?: boolean;
        }[];
    };
    formTitle?: string;
    httpMethod?: | "GET"
    | "POST"
    | "DELETE"
    | "HEAD"
    | "PATCH"
    | "PUT";
    incomingAuthentication?: | "none"
    | "basicAuth"
    | "headerAuth"
    | "jwtAuth";
    limitType?: "afterTimeInterval"
    | "atSpecifiedTime";
    limitWaitTime?: boolean;
    maxDateAndTime?: string;
    options?:
        | {
            binaryData?: boolean;
            binaryPropertyName?: string;
            ignoreBots?: boolean;
            ipWhitelist?: string;
            noResponseBody?: boolean;
            rawBody?: boolean;
            responseContentType?: string;
            responseData?: string;
            responseHeaders?: {
                entries: { name?: string; value?: string }[];
            };
            responsePropertyName?: string;
            webhookSuffix?: string;
        }
        | {
            appendAttribution?: boolean;
            respondWithOptions?: {
                values: {
                    formSubmittedText?: string;
                    redirectUrl?: string;
                    respondWith?: "text"
                    | "redirect";
                };
            };
            webhookSuffix?: string;
        }
        | {
            appendAttribution?: boolean;
            webhookSuffix?: string;
        };
    responseBinaryPropertyName?: string;
    responseCode?: number;
    responseData?: | "noData"
    | "allEntries"
    | "firstEntryJson"
    | "firstEntryBinary";
    responseMode?: | "lastNode"
    | "responseNode"
    | "onReceived";
    resume?: | "webhook"
    | "form"
    | "timeInterval"
    | "specificTime";
    resumeAmount?: number;
    resumeUnit?: "minutes"
    | "hours"
    | "days"
    | "seconds";
    unit?: "minutes" | "hours" | "days" | "seconds";
}

Properties§

§readonly amount?: number

The time to wait Default: 1 Type options: {"minValue":0,"numberPrecision":2}

§readonly dateTime?: string

The date and time to wait for before continuing

§readonly formDescription?: string

Shown underneath the Form Title. Can be used to prompt the user on how to complete the form. Accepts HTML. Does not accept <script>, <style> or <input> tags. Type options: {"rows":2}

§readonly formFields?: { ... }

Default: {} Type options: {"multipleValues":true,"sortable":true,"fixedCollection":{"itemTitle":"={{ $collection.item.properties.find(p => p.name === "fieldType").options.find(o => o.value === $collection.item.value.fieldType).name }}"}}

§readonly formTitle?: string

Shown at the top of the form

§readonly httpMethod?: "GET" | "POST" | "DELETE" | "HEAD" | "PATCH" | "PUT"

The HTTP method of the Webhook call Default: "GET"

§readonly incomingAuthentication?: "none" | "basicAuth" | "headerAuth" | "jwtAuth"

If and how incoming resume-webhook-requests to $execution.resumeFormUrl should be authenticated for additional security Default: "none"

§readonly limitType?: "afterTimeInterval" | "atSpecifiedTime"

Sets the condition for the execution to resume. Can be a specified date or after some time. Default: "afterTimeInterval"

§readonly limitWaitTime?: boolean

Whether to limit the time this node should wait for a user response before execution resumes

§readonly maxDateAndTime?: string

Continue execution after the specified date and time

§readonly options?:
    | {
        binaryData?: boolean;
        binaryPropertyName?: string;
        ignoreBots?: boolean;
        ipWhitelist?: string;
        noResponseBody?: boolean;
        rawBody?: boolean;
        responseContentType?: string;
        responseData?: string;
        responseHeaders?: {
            entries: { name?: string; value?: string }[];
        };
        responsePropertyName?: string;
        webhookSuffix?: string;
    }
    | {
        appendAttribution?: boolean;
        respondWithOptions?: {
            values: {
                formSubmittedText?: string;
                redirectUrl?: string;
                respondWith?: "text"
                | "redirect";
            };
        };
        webhookSuffix?: string;
    }
    | {
        appendAttribution?: boolean;
        webhookSuffix?: string;
    }

Default: {}

§readonly responseBinaryPropertyName?: string

Name of the binary property to return Default: "data"

§readonly responseCode?: number

The HTTP Response code to return Default: 200 Type options: {"minValue":100,"maxValue":599}

§readonly responseData?:
    | "noData"
    | "allEntries"
    | "firstEntryJson"
    | "firstEntryBinary"

What data should be returned. If it should return all items as an array or only the first item as object. Default: "firstEntryJson"

§readonly responseMode?: "lastNode" | "responseNode" | "onReceived"

When to respond to the form submission Default: "onReceived"

§readonly resume?: "webhook" | "form" | "timeInterval" | "specificTime"

Determines the waiting mode to use before the workflow continues Default: "timeInterval"

§readonly resumeAmount?: number

The time to wait Default: 1 Type options: {"minValue":0,"numberPrecision":2}

§readonly resumeUnit?: "minutes" | "hours" | "days" | "seconds"

Unit of the interval value Default: "hours"

§readonly unit?: "minutes" | "hours" | "days" | "seconds"

The time unit of the Wait Amount value Default: "hours"