Skip to main content

C# Script

icon
C# Function

Allows you to execute C# code in a flow. This has full access to the Flow and all the exposed properties.

These run effectively with the same abilities as a Plugin flow element, and can access public plugin methods easily.

It can let you make decision paths based on previous flow elements, compute variables for future flow elements, log information, and many more features.

Return Codes

NumberDescription
1+Specifies which output is to be called. Define the number of outputs using the Outputs field. This will add more output connections to the flow element.
0Completes the flow successfully. This will immediately stop the flow and mark it as successful.
-1Indicates an error and stops the flow. This will mark the flow as unsuccessful.
tip

See C# Scripting for a complete reference