This is very much possible in simple graphical mapping. Check the condition using constant and equals function (for example) and if the condition matches use createif to create target tags otherwise no.
you might want to see this good link and example 5
http://scn.sap.com/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-part-ii