It's useful, but maybe inaccurate, to think of a code stage as a method.
For instance this stage:
Contains only these lines:
DateTime dtNow = DateTime.Now;
DateTime conversion = DateTime.SpecifyKind(dtNow, DateTimeKind.Utc);
CurrentDateTime = conversion.ToLocalTime();
No brackets. The code stage has inputs and outputs, and these are basically input parameters and return type.
So the code stage pseudocode would be the method:
private DateTime CurrentDateTime ()
{
<code above with DateTime return value>
}
------------------------------
Brian Clayton
Lead Developer - C#/Blue Prism RPA
The Auto Club Group
America/Detroit
------------------------------