@servicenow/sdk - v4.4.1
    Preparing search index...
    inlineScript: (script: string) => any = InlineScriptFunction

    Type Declaration

      • (script: string): any
      • Creates an inline script for use in Flow Designer action/subflow inputs.

        Inline scripts are JavaScript code that executes server-side during flow execution. They have access to flow context via fd_data and can return any type of value.

        Parameters

        • script: string

          The JavaScript code to execute. Should be a valid expression or statements.

        Returns any

        The result of the script execution (any type at runtime)