cancel
Showing results for 
Search instead for 
Did you mean: 

use of switch in BPM: pls reply

Former Member
0 Kudos

i have a switch in my BPM, see i need to pass a message(with n records) through this switch with a condition on a field of a record.... pls tell me will the message pass through that branch even if one of the record has that field matching the condition......

pls do reply

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

It will depends upon the message structure , i mean , if the message contains one record per each message then sure on emesage will pass through that switch.

Else if the message is multiline , or holding the no of records then it will not pass.

So try to maitain the occurrences to achieve your task

Regards

Chilla.

Former Member
0 Kudos

my message is

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_sdptestFile xmlns:ns0="http://zpoc.com.test/sdptest">

<record>

<salary/>

<name/>

<id/>

</record>

</ns0:MT_sdptestFile>

i want all filter and obtain those records with id=1 , can i pass through the switch statement..

does that means only required record will be filtered...

eg., if 5 out of 10 records are having id=1...will i get those 5 records in that branch

Message was edited by:

sudeep dhar

Former Member
0 Kudos

Hi,

<b>hey this post is closed , it is solved??</b>

Yes it is possible, in switch step , use the id as xpath and maitaint the condition.

Regards

Chilla

<i>rewards points if it is helpful..</i>