Error: If/else condition called for non-completed task. Managed Software Delivery Policy