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

    Creates a new Action Type (sys_hub_action_type_definition). This function defines the metadata and schema for a reusable action within the Flow system.

    An object adhering to ActionConfig but with FlowValueType for inputs/outputs:

    • $id - Unique ID for the record, typically using Now.ID["value"].
    • name - Display name for the action.
    • natlang? - Natural language phrase for the action.
    • description? - Detailed explanation of the action's purpose.
    • annotation? - Default annotation text when used in a flow.
    • access? - Scope accessibility (e.g., 'All application scopes').
    • category? - Reference to sys_hub_category for grouping.
    • inputs - Input definitions using FlowValueType.
    • outputs - Output definitions using FlowValueType.

    A callable Action object, typed with inferred input and output schemas (transformed by FlowSchemaType). Currently, the implementation returns undefined and likely serves as a type definition or registration mechanism.

    type ActionBodyParams<I, O> = {
        inputs: I;
        outputs: O;
    }

    Type Parameters

    • I

      A record defining the input parameters using FlowValueType.

    • O

      A record defining the output parameters using FlowValueType.

    Index

    Properties

    Properties

    inputs: I
    outputs: O