add else node and evaluate boolean value in if node.
add array parameter pattern in embedded variable.