Code Element
The Code Element allows you to create Process Variables and execute C# code directly in a Process. The Code Element has two modes - one that declares a variable and assigns a value, and one that executes an expression.
If you chose to declare a variable and enter a variable name, the variable can be accessed with a #var. reference.
A Code variable declared in the root of a Process is accessible from child scopes and modification to it in the child scopes will be visible from the root. A Code variable declared in a child scope will not be accessible in the root.
If a Code Element declares a variable the return value of the Element will be the value of the variable.
A Code Element that does not declare a variable will only return a String value indicating that it has been executed.
The next article is Example on Using LINQ in code and LINQ Resources
β