@servicenow/sdk - v4.9.0
    Preparing search index...

    Record Create or Update trigger - fires on either event.

    interface RecordCreateOrUpdateTrigger {
        __inputs?: {
            condition: Typed<
                string,
                {
                    columnType: "string";
                    label: "Condition";
                    sysId: "610f3cd1ff2200108c8733af793bf11d";
                },
            >;
            runTrigger: Typed<
                | "run_once"
                | "run_always"
                | "run_if_not_running"
                | "run_each_unique_change",
                {
                    choices: {
                        run_always: { label: "For every update" };
                        run_each_unique_change: { label: "For each unique change" };
                        run_if_not_running: { label: "Only if not currently running" };
                        run_once: { label: "Once" };
                    };
                    columnType: "string";
                    label: "Run My Trigger";
                    sysId: "0e12b4790f0010108c87f4f0ff767e90";
                },
            >;
            runTriggerOnExtendedTables: Typed<
                boolean,
                {
                    columnType: "boolean";
                    label: "Run On Extended";
                    sysId: "726a747d0f0010108c87f4f0ff767e4b";
                },
            >;
            table: Typed<
                keyof Tables,
                {
                    columnType: "string";
                    label: "Table";
                    sysId: "28eef8d1ff2200108c8733af793bf14a";
                },
            >;
            triggerOnUniqueChange: Typed<
                boolean,
                {
                    columnType: "boolean";
                    label: "Trigger On Unique Change";
                    sysId: "6fc42b59a35712104818f363041e6179";
                },
            >;
        };
        __type: "PlaybookTriggerType";
        __userInputs?: undefined;
        inputs?: {
            condition: Typed<
                string,
                {
                    columnType: "string";
                    label: "Condition";
                    sysId: "610f3cd1ff2200108c8733af793bf11d";
                },
            >;
            runTrigger: Typed<
                | "run_once"
                | "run_always"
                | "run_if_not_running"
                | "run_each_unique_change",
                {
                    choices: {
                        run_always: { label: "For every update" };
                        run_each_unique_change: { label: "For each unique change" };
                        run_if_not_running: { label: "Only if not currently running" };
                        run_once: { label: "Once" };
                    };
                    columnType: "string";
                    label: "Run My Trigger";
                    sysId: "0e12b4790f0010108c87f4f0ff767e90";
                },
            >;
            runTriggerOnExtendedTables: Typed<
                boolean,
                {
                    columnType: "boolean";
                    label: "Run On Extended";
                    sysId: "726a747d0f0010108c87f4f0ff767e4b";
                },
            >;
            table: Typed<
                keyof Tables,
                {
                    columnType: "string";
                    label: "Table";
                    sysId: "28eef8d1ff2200108c8733af793bf14a";
                },
            >;
            triggerOnUniqueChange: Typed<
                boolean,
                {
                    columnType: "boolean";
                    label: "Trigger On Unique Change";
                    sysId: "6fc42b59a35712104818f363041e6179";
                },
            >;
        };
    }

    Hierarchy (View Summary)

    Index

    Properties

    __inputs?: {
        condition: Typed<
            string,
            {
                columnType: "string";
                label: "Condition";
                sysId: "610f3cd1ff2200108c8733af793bf11d";
            },
        >;
        runTrigger: Typed<
            | "run_once"
            | "run_always"
            | "run_if_not_running"
            | "run_each_unique_change",
            {
                choices: {
                    run_always: { label: "For every update" };
                    run_each_unique_change: { label: "For each unique change" };
                    run_if_not_running: { label: "Only if not currently running" };
                    run_once: { label: "Once" };
                };
                columnType: "string";
                label: "Run My Trigger";
                sysId: "0e12b4790f0010108c87f4f0ff767e90";
            },
        >;
        runTriggerOnExtendedTables: Typed<
            boolean,
            {
                columnType: "boolean";
                label: "Run On Extended";
                sysId: "726a747d0f0010108c87f4f0ff767e4b";
            },
        >;
        table: Typed<
            keyof Tables,
            {
                columnType: "string";
                label: "Table";
                sysId: "28eef8d1ff2200108c8733af793bf14a";
            },
        >;
        triggerOnUniqueChange: Typed<
            boolean,
            {
                columnType: "boolean";
                label: "Trigger On Unique Change";
                sysId: "6fc42b59a35712104818f363041e6179";
            },
        >;
    }
    __type: "PlaybookTriggerType"
    __userInputs?: undefined
    inputs?: {
        condition: Typed<
            string,
            {
                columnType: "string";
                label: "Condition";
                sysId: "610f3cd1ff2200108c8733af793bf11d";
            },
        >;
        runTrigger: Typed<
            | "run_once"
            | "run_always"
            | "run_if_not_running"
            | "run_each_unique_change",
            {
                choices: {
                    run_always: { label: "For every update" };
                    run_each_unique_change: { label: "For each unique change" };
                    run_if_not_running: { label: "Only if not currently running" };
                    run_once: { label: "Once" };
                };
                columnType: "string";
                label: "Run My Trigger";
                sysId: "0e12b4790f0010108c87f4f0ff767e90";
            },
        >;
        runTriggerOnExtendedTables: Typed<
            boolean,
            {
                columnType: "boolean";
                label: "Run On Extended";
                sysId: "726a747d0f0010108c87f4f0ff767e4b";
            },
        >;
        table: Typed<
            keyof Tables,
            {
                columnType: "string";
                label: "Table";
                sysId: "28eef8d1ff2200108c8733af793bf14a";
            },
        >;
        triggerOnUniqueChange: Typed<
            boolean,
            {
                columnType: "boolean";
                label: "Trigger On Unique Change";
                sysId: "6fc42b59a35712104818f363041e6179";
            },
        >;
    }