Skip to Content
0
Former Member
Oct 11, 2006 at 06:21 PM

Content based routing

32 Views

Hi Everyone,

I am working on a BPm scenario, where the data which I get in BPM is of the format:

<Batch>

<DataBatch parent_reference = "3232" child_reference = "45" schema_Number = "03434211" status = "OK"><DataUnit>Format</DataUnit></DataBatch>

</Batch>

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.

Pls advice.

Cheers,

Ashish