I have created a process using language as ‘C#’. In the workflow i have assigned boolResult = int.TryParse(“45”, out intResult). Here boolResult is the bool type variable and intResult is the int type variable. When i try to print intResult in the Log activity, the output i am getting is 0 not 45.Pls find attached below image
@raja.raviraj
when using the Assign Activity the parsed value is not forwarded to the out variable.
We can use the invoke method activity instead for this method call
Its C# tryparse method, which gives ‘True’ if the input value is int otherwise false without throwing any error, at the same time it will give the value itself in another variable.