Flow steps (simple)Last Updated: 07/15/2016 Introduced in Verision: 2.0
You can easily create new steps to be used in Decisions by creating public static methods in a class file project. This article will show you how to accomplish this.
Create a new Class Library project is Visual Studio.
Add a reference to the DecisionsFramework.dll.
Decorate your class with the following attribute: [AutoRegisterMethodsOnClass(true, "Sample Category", "Example Steps from Class File", RegisterForAgents = true)]
Create a public static method in you class that does what you want. This method will become a step in Decisions. The name of your method will be the name of you step. Also the inputs and outputs of your method will become the inputs and outputs of your step. See the following code for two example methods in a class that we will use to create steps inside of Decisions.
[AutoRegisterMethodsOnClass(true, "Sample Category", "Example Steps from Class File", RegisterForAgents = true)]
public class MyClass
public static Int32 addTwoNumbers(Int32 number1, Int32 number2)
return number1 + number2;
public static bool isStringLegthEqualTo(string stringToEvaluate, Int32 length)
if (stringToEvaluate.Length == length)
else return false;
After you have written your methods build your project, follow the steps here: Deploying server side extensions
After deploying your code log into the Decisions portal and create a new flow. You will now see the methods from your class in the Toolbox.