%%[IF AccountNumber == "12345" THEN]%% html %%[ELSE]%% html %%[ENDIF]%%
Explodes when attempting to validate:
Error 1: Script IF Statement Invalid
An error occurred when attempting to resolve a script expression. See inner exception for detail.Script Expression: AccountNumber MemberID: 1234567 JobID: 0 An unrecognized expression appears in a script block.
Script Expression: AccountNumber MemberID: 1234567 JobID: 0
Invalid Content:
IF AccountNumber == "12345" THEN]%% !!plain text stuff!! %%=WorkOrderNumber=%%. %%[
Not exactly helpful.
Checked data extension exists, is populated.