The "{" is missing after the else, thats why you get the syntax error.

"else if" would work in lite-C but not in the old WDL language.