I am working on a BPm scenario, where the data which I get in BPM is of the format:
<DataBatch parent_reference = "3232" child_reference = "45" schema_Number = "03434211" status = "OK"><DataUnit>Format</DataUnit></DataBatch>
Where the bold part is the XML string inserted into Batch.
Now the issue is I need to check the attribute 'status' of DataBatch. If status is 'Ok' then the first branch of switch should execute or else the second branch should execute.
How can I check 'status' for it's value in switch condition.