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

    Variable sys_flow_contextConst

    sys_flow_context: {
        allowWebServiceAccess: true;
        attributes: {
            forcePrimaryKeyOrdering: true;
            iterativeDelete: false;
            native_recordlock: true;
            no_audit_delete: true;
            update_synch: false;
        };
        label: "Flow engine context";
        name: "sys_flow_context";
        schema: {
            application: Typed<
                string,
                { label: "Application"; maxLength: 250; readOnly: true },
            >;
            attributes: Typed<
                string,
                { attributes: { json_view: true }; label: "Attributes"; readOnly: true },
            >;
            calling_source: Typed<string, { label: "Calling Source"; readOnly: true }>;
            claimed_by: Typed<
                string,
                { label: "Claimed by"; maxLength: 250; readOnly: true },
            >;
            design_source: Typed<
                string,
                {
                    default: "FLOW_DESIGNER";
                    dropdown: "dropdown_without_none";
                    label: [
                        {
                            hint: "The designer/builder that was the source of this execution";
                            label: "Design Time Source";
                            language: "en";
                            plural: "Design Time Sources";
                        },
                    ];
                    readOnly: true;
                },
            >;
            engine_major_version: Typed<
                number,
                { label: "Engine Major Version"; maxLength: 2; readOnly: true },
            >;
            engine_version: Typed<
                number,
                { label: "Last Executed Release"; maxLength: 10; readOnly: true },
            >;
            error_message: Typed<
                string,
                { label: "Error message"; maxLength: 1000; readOnly: true },
            >;
            error_state: Typed<
                string
                | number,
                { dropdown: "dropdown_with_none"; label: "Error State"; readOnly: true },
            >;
            execution_id: Typed<
                string,
                { label: "Execution ID"; maxLength: 32; readOnly: true; unique: true },
            >;
            flow: Typed<string, { label: "Flow"; maxLength: 32; readOnly: true }>;
            flow_catalog_model: Typed<
                | string
                | Record<"sys_flow_cat_variable_model">
                | ExplicitKey<"sys_flow_cat_variable_model">
                | TableBrand<"sys_flow_cat_variable_model">,
                {
                    attributes: { encode_utf8: false };
                    label: "Flow catalog model";
                    readOnly: true;
                    referenceTable: "sys_flow_cat_variable_model";
                },
            >;
            is_test_run: Typed<boolean, { label: "Is test run"; readOnly: true }>;
            name: Typed<string, { label: "Name"; maxLength: 250; readOnly: true }>;
            origins: Typed<
                string,
                {
                    attributes: { json_view: true };
                    label: "Origins";
                    maxLength: 8000;
                    readOnly: true;
                },
            >;
            plan: Typed<
                string,
                { attributes: { json_view: true }; label: "Plan"; readOnly: true },
            >;
            reporting: Typed<
                string,
                {
                    default: "ON";
                    dropdown: "dropdown_without_none";
                    label: [
                        {
                            hint: "Turns ON/OFF the reporting during the flow execution";
                            label: "Reporting";
                            language: "en";
                            plural: "Reportings";
                        },
                    ];
                    readOnly: true;
                },
            >;
            run_time: Typed<number, { label: "Runtime"; readOnly: true }>;
            signatures: Typed<
                string,
                {
                    attributes: { json_view: true };
                    label: "Signatures";
                    maxLength: 10000;
                    readOnly: true;
                },
            >;
            skip_schedule_cleanup: Typed<
                boolean,
                { default: false; label: "Skip Schedule Cleanup" },
            >;
            snapshot: Typed<
                string,
                { label: "Snapshot"; maxLength: 32; readOnly: true },
            >;
            source_record: Typed<
                string
                | Record,
                {
                    dependent: "source_table";
                    label: [
                        {
                            hint: "The source script of this execution";
                            label: "Source Record";
                            language: "en";
                            plural: "Source Records";
                        },
                    ];
                    readOnly: true;
                },
            >;
            source_table: Typed<
                keyof Tables,
                {
                    attributes: { base_start: true };
                    label: "Source Table";
                    readOnly: true;
                },
            >;
            stages: Typed<
                | string
                | Record<"stage_state">
                | ExplicitKey<"stage_state">
                | TableBrand<"stage_state">,
                {
                    attributes: { encode_utf8: false };
                    label: "Stages";
                    readOnly: true;
                    referenceTable: "stage_state";
                },
            >;
            state: Typed<
                string
                | number,
                { dropdown: "dropdown_with_none"; label: "State"; readOnly: true },
            >;
            sys_created_by: Typed<
                string,
                {
                    label: [
                        { label: "Created by"; language: "en"; plural: "Created by" },
                    ];
                },
            >;
            sys_created_on: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: [{ label: "Created"; language: "en"; plural: "Created" }] },
            >;
            sys_domain: Typed<
                Record<"domain">
                | "global",
                {
                    default: "global";
                    label: [
                        {
                            hint: "Domain to which the context belongs";
                            label: "Domain";
                            language: "en";
                            plural: "Domains";
                        },
                    ];
                },
            >;
            sys_domain_path: Typed<
                string,
                {
                    attributes: { case_sensitive: true };
                    default: "/";
                    label: "Domain Path";
                },
            >;
            sys_id: Typed<
                string,
                {
                    label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                    primary: true;
                },
            >;
            sys_lock_acquired: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: "Conversation Lock Acquired" },
            >;
            sys_lock_owner: Typed<
                string,
                { label: "Conversation Lock Owner"; maxLength: 100 },
            >;
            sys_lock_touched: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: "Conversation Lock Touched" },
            >;
            sys_mod_count: Typed<
                number,
                { label: [{ label: "Updates"; language: "en"; plural: "Updates" }] },
            >;
            sys_updated_by: Typed<
                string,
                {
                    label: [
                        { label: "Updated by"; language: "en"; plural: "Updated by" },
                    ];
                },
            >;
            sys_updated_on: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: [{ label: "Updated"; language: "en"; plural: "Updated" }] },
            >;
            transaction: Typed<
                string,
                { label: "Transaction"; maxLength: 32; readOnly: true },
            >;
        };
    } = ...

    Type Declaration

    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: {
          forcePrimaryKeyOrdering: true;
          iterativeDelete: false;
          native_recordlock: true;
          no_audit_delete: true;
          update_synch: false;
      }
    • Readonlylabel: "Flow engine context"
    • Readonlyname: "sys_flow_context"
    • Readonlyschema: {
          application: Typed<
              string,
              { label: "Application"; maxLength: 250; readOnly: true },
          >;
          attributes: Typed<
              string,
              { attributes: { json_view: true }; label: "Attributes"; readOnly: true },
          >;
          calling_source: Typed<string, { label: "Calling Source"; readOnly: true }>;
          claimed_by: Typed<
              string,
              { label: "Claimed by"; maxLength: 250; readOnly: true },
          >;
          design_source: Typed<
              string,
              {
                  default: "FLOW_DESIGNER";
                  dropdown: "dropdown_without_none";
                  label: [
                      {
                          hint: "The designer/builder that was the source of this execution";
                          label: "Design Time Source";
                          language: "en";
                          plural: "Design Time Sources";
                      },
                  ];
                  readOnly: true;
              },
          >;
          engine_major_version: Typed<
              number,
              { label: "Engine Major Version"; maxLength: 2; readOnly: true },
          >;
          engine_version: Typed<
              number,
              { label: "Last Executed Release"; maxLength: 10; readOnly: true },
          >;
          error_message: Typed<
              string,
              { label: "Error message"; maxLength: 1000; readOnly: true },
          >;
          error_state: Typed<
              string
              | number,
              { dropdown: "dropdown_with_none"; label: "Error State"; readOnly: true },
          >;
          execution_id: Typed<
              string,
              { label: "Execution ID"; maxLength: 32; readOnly: true; unique: true },
          >;
          flow: Typed<string, { label: "Flow"; maxLength: 32; readOnly: true }>;
          flow_catalog_model: Typed<
              | string
              | Record<"sys_flow_cat_variable_model">
              | ExplicitKey<"sys_flow_cat_variable_model">
              | TableBrand<"sys_flow_cat_variable_model">,
              {
                  attributes: { encode_utf8: false };
                  label: "Flow catalog model";
                  readOnly: true;
                  referenceTable: "sys_flow_cat_variable_model";
              },
          >;
          is_test_run: Typed<boolean, { label: "Is test run"; readOnly: true }>;
          name: Typed<string, { label: "Name"; maxLength: 250; readOnly: true }>;
          origins: Typed<
              string,
              {
                  attributes: { json_view: true };
                  label: "Origins";
                  maxLength: 8000;
                  readOnly: true;
              },
          >;
          plan: Typed<
              string,
              { attributes: { json_view: true }; label: "Plan"; readOnly: true },
          >;
          reporting: Typed<
              string,
              {
                  default: "ON";
                  dropdown: "dropdown_without_none";
                  label: [
                      {
                          hint: "Turns ON/OFF the reporting during the flow execution";
                          label: "Reporting";
                          language: "en";
                          plural: "Reportings";
                      },
                  ];
                  readOnly: true;
              },
          >;
          run_time: Typed<number, { label: "Runtime"; readOnly: true }>;
          signatures: Typed<
              string,
              {
                  attributes: { json_view: true };
                  label: "Signatures";
                  maxLength: 10000;
                  readOnly: true;
              },
          >;
          skip_schedule_cleanup: Typed<
              boolean,
              { default: false; label: "Skip Schedule Cleanup" },
          >;
          snapshot: Typed<
              string,
              { label: "Snapshot"; maxLength: 32; readOnly: true },
          >;
          source_record: Typed<
              string
              | Record,
              {
                  dependent: "source_table";
                  label: [
                      {
                          hint: "The source script of this execution";
                          label: "Source Record";
                          language: "en";
                          plural: "Source Records";
                      },
                  ];
                  readOnly: true;
              },
          >;
          source_table: Typed<
              keyof Tables,
              {
                  attributes: { base_start: true };
                  label: "Source Table";
                  readOnly: true;
              },
          >;
          stages: Typed<
              | string
              | Record<"stage_state">
              | ExplicitKey<"stage_state">
              | TableBrand<"stage_state">,
              {
                  attributes: { encode_utf8: false };
                  label: "Stages";
                  readOnly: true;
                  referenceTable: "stage_state";
              },
          >;
          state: Typed<
              string
              | number,
              { dropdown: "dropdown_with_none"; label: "State"; readOnly: true },
          >;
          sys_created_by: Typed<
              string,
              { label: [{ label: "Created by"; language: "en"; plural: "Created by" }] },
          >;
          sys_created_on: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: [{ label: "Created"; language: "en"; plural: "Created" }] },
          >;
          sys_domain: Typed<
              Record<"domain">
              | "global",
              {
                  default: "global";
                  label: [
                      {
                          hint: "Domain to which the context belongs";
                          label: "Domain";
                          language: "en";
                          plural: "Domains";
                      },
                  ];
              },
          >;
          sys_domain_path: Typed<
              string,
              {
                  attributes: { case_sensitive: true };
                  default: "/";
                  label: "Domain Path";
              },
          >;
          sys_id: Typed<
              string,
              {
                  label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                  primary: true;
              },
          >;
          sys_lock_acquired: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: "Conversation Lock Acquired" },
          >;
          sys_lock_owner: Typed<
              string,
              { label: "Conversation Lock Owner"; maxLength: 100 },
          >;
          sys_lock_touched: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: "Conversation Lock Touched" },
          >;
          sys_mod_count: Typed<
              number,
              { label: [{ label: "Updates"; language: "en"; plural: "Updates" }] },
          >;
          sys_updated_by: Typed<
              string,
              { label: [{ label: "Updated by"; language: "en"; plural: "Updated by" }] },
          >;
          sys_updated_on: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: [{ label: "Updated"; language: "en"; plural: "Updated" }] },
          >;
          transaction: Typed<
              string,
              { label: "Transaction"; maxLength: 32; readOnly: true },
          >;
      }