cancel
Showing results for 
Search instead for 
Did you mean: 

Condition before sending data to BPM

Former Member
0 Kudos

Friends,

This is our scenario,

FTP <->BPM <-> WS <-> BPM <-> ABAP Proxy

We need to check the value in one of the incoming fields from FTP, if the field is blank (value doesnt exist) then don't send it to BPM but send it to ABAP Proxy directly. if the field has value then send it through BPM.

Thanks for all your suggestions and responses.

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos

This condition will be specified in the Receiver Determination.

FILE (SOURCE) -----> BPM (If value not blank)
                         |-----> Proxy (if value blank)

You need to maintain different Interface Determination for BPM -


> Proxy and File --> Proxy flow. Cant use the same since the source will be different.

In the receiver determination have two conditions like:

Source file node (XPATH) EX & Source file node (XPATH) not_equal blank ---> then receiver will be BPM

Source file node (XPATH) EX & Source file node (XPATH) equal blank ---> then receiver will be Proxy.

Regards,

Abhishek.

Answers (6)

Answers (6)

Former Member
0 Kudos

Thanks for all your replies.

Former Member
0 Kudos

Hi Pavan,

This can be achieved by setting the xpath conditions in the Receiver Determination.

in Receiver Determination configure 2 receivers 1. BPM and 2. Business system which has the Abap Proxy on it

and the sender would be same for both the receivers.

Thanks,

Kiran.

Former Member
0 Kudos

Thanks Friends,

Yes setting condition is definetely the way to go, however what should be the right operand in the condition (to check whether field is blank?)

former_member200962
Active Contributor
0 Kudos

The Right Operand in your case (when you check if value is blank) is --> place your cursor in the right operand and give a space.....or you can even try with keeping it blank (means no space)....just do not give any value at all

Both will do the same function.

Regards,

Abhishek.

prasannakrishna_mynam
Contributor
0 Kudos

Hello Pavan,

- Here you need to select the receiver based on condiotion based Receiver determination.

- If the source field is blank then assign ProxyService, else IntegratonProcess(IP).

- You need to specify interface determination from file to proxy,file to bpm and assign it to receiver determination.

Regards,

Prasanna

Former Member
0 Kudos

You can use conditions in receiver determination

Write X path expression and check if value not equal to blank select BPM as receiver

other case select Proxy receiver as receiver

agasthuri_doss
Active Contributor
0 Kudos

Pavan,

As Abhishek mentioned you can goahead with receiver determination Option .

Cheers

Agasthuri