Im not sure if you want to check on several other attributes..if so i would recommend to do this in xsl
in bpel you could use a switch with condition /ns2:update/updatedAttribute[name='Email']
in xsl youu could use something like when test=" ...
thank you for the prompt reply. But what if /ns2:update/updatedAttribute node doesn't contain <name>Email</name>? It's exactly the case when I get my Selection Failure exception. I wanted to check if it's actually present in a payload. "Email" is just an example, I need to check about 7-8 different attributes and make my invoke call based on what attribute is updated (see payload below)
I thought about XLST but again, what is the test condition for such a situation? I'm novice in BPEL/XSLT, so I tried to search a forum for that question, didn't find anything useful though. In any programming language I would iterate through a list of UpdatedAttributes and check the <name> of each and form an invocation payload accordingly. But don't know if I can do the same here.