'Same variable output as different types' error
Comments
-
I am getting an error "Another Step Outputs X but has declared it as a different type" in my Flow.
[img]att1[/img]
What does this mean and how can I resolve this?
[i]edited by Jibbin Mathew on 12/19/2019[/i] -
This error shows up when multiple steps output the same variable but with different datatypes. This is a Design Validation and your Flow should still run without issue.
As an example, I have initialized a Position variable in my CreateData step with the Int16 type. Further ahead in the Flow, this variable is getting its value changed on the Add step. The Add step returns a Decimal value as its output. So now the flow has the Position variable with two different datatypes: Int16 and Decimal; which is why you are receiving these Validation errors.[img]att1[/img]
These can be resolved by ensuring the Datatype is the same in both steps.
[i]edited by osman@decisions.com on 12/19/2019[/i]