I have a flow 'When item is created' that updates an item based on a library/company corporate directory, this will only take a few seconds to update and terminate.
I have a second flow based also on 'When item is created' followed by a delay step of two minutes and a switch step where the condition is set from a column that has been updated from the first flow.
I am working on the presumption that this flow is delayed by 2 minutes which would give enough time for the first flow to terminate and update the item to which the Switch condition would work, however I get the below error:
ExpressionEvaluationFailed. The execution of template action 'Switch' failed: The result of the evaluation of 'scope' action expression '@triggerOutputs()?['body/Crew_x0020_Type']' is not valid. It is of type 'Null' but is expected to be a value of type 'String, Integer
Is the above error due to the fact that the switch based column is empty? should it not be updated by the previous flow and only progress after the delay?

Any ideas on how to solve this?