C\# connector methods

reference australia Updated Sep 10, 2026 1 min read connector-c-methods.md
Raw file servicenow.com

The C# connector method enables you to execute the custom C# scripts you had written while configuring the C#.Net connector.

Execute

Executes C# scripts set up in the configuration window. Before executing the method, you must configure the connector. See Configure the C#.Net connector.

To execute, do the following steps.

  1. Click the method settings icon ([Omitted image "component-settings-icon.png"] Alt text: Method settings icon).

  2. From the Classes list, select the class defined during the configuration of the C#.NET connector.

  3. From the Methods list, select the method defined during the configuration of the C#.NET connector.

  4. Click OK.

    A Data Out port is created to return the output.

  5. To test the method, under the DESIGN tab, click Run.

Parameter Description Data port type Data type Default value Mandatory
Result Returns the output of the script. Data Out String Not applicable Not applicable

Parent Topic:C#.Net

Search documentation
Search document titles and file paths on the australia branch