This simple sample shows how to use “IF” statements inside on Orchestration.
This sample will work with BizTalk 2004 and BizTalk 2006.
Get more information from the original blog post on this topic: https://www.biztalkgurus.com/biztalk_server/biztalk_blogs/b/biztalk/archive/2004/08/19/working-with-if-statements-in-an-expression-shape.aspx