cancel
Showing results for 
Search instead for 
Did you mean: 

Execution of an Interface only if a condition is accomplished

Former Member
0 Kudos

Hi guys,

We have an interface that only has to create a message with certain values of a field in the message.

Is there any way to achieve this without generating errors in the message or adapter monitoring?

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hmm.. May be try this approach....

In receiver determination define your condition and select the radio button <b>"End Message Processing Without Error"</b>.

Will this suit your requirement?

Regards,

Jai Shankar

Former Member
0 Kudos

Thank you very much.

The previous SP I worked with didn't had that option, I think.

Thanks!

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Inaki,

use BPM......then in msg mapping, take source and your targets....then map them.....create your target msg only when your source data is there....then have receive steps to get your target msgs.....

Thanks,

Rajeev Gupta

Shabarish_Nair
Active Contributor
0 Kudos

in case you need conditional execution, try xpath and route the mapping in your interface determination - /people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service

Also ref:

/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers for multiple recv. (conditional)