cancel
Showing results for 
Search instead for 
Did you mean: 

How to call the second mapping in the first mapping fails in the BPM

Former Member
0 Kudos

Hi All,

I have a scenario like this.

There are two mappings. There is a one condition while genearying the root element of the first mapping. If this condition is not satisfies the first mapping will fail. If this mapping fails i want to trigger another mapping.

How to achieve this functionality.

If it is possible with BPM. how to call the second mapping in the BPM.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

you can use the following steps in BPM.

Receive-->switch-->send

this is an example.

in the first branch of switch call first mapping and in secong branch call another mapping.

if the condition failsin first branch it will move to the second branch.

Thanks

Rinku Gangwani

Former Member
0 Kudos

Hello Rinku,

for the switch statement we have to specify the condition for the first branch.

Actually there is no condition in my case only mapping will fail

so how can we achieve this with switch?

former_member181962
Active Contributor
0 Kudos

Create a block step.

IN the block step, create a transformation step, which holds your first mapping.

In the exception branch of the block step, have your second mapping in a transformation step.

Regards,

Ravi Kanth Talagana

Former Member
0 Kudos

Hi Ravi,

My first mapping is synchronous mapping and second mapping is asynchornous mapping.

I am not able to call the sychronous mapping the transformation step.

I have done like below

Receive-Block->Sendschronoussend asynch(these two steps are in success branch)>Transformationstep-send Asynch(these two steps are in exception branch of block)--stop the BPM

but i am not able to execute the second mapping if first mapping fails

former_member181962
Active Contributor
0 Kudos

Hi Rams,

Do something like this

Start->Receive step->Block->(Main Branch)Transformation step->Send(Sync)-Stop(Outside block)

Block->(Exception Branch) Transformation step->Send(Asynchronous)

Regards,

Ravi

Former Member
0 Kudos

Hi Ravi,

I am not able to call synchronous transformation step inside the BPM. Even I am not able to create the container variable to the synchronous abstarct interfaces in the BPM.

Can you plz help on this

Former Member
0 Kudos

Hi

you can not create the containter for the synchronous interfaces.

you have to craete the two asysnchronous abstact interfaces .

thenusing those two abstract interfaces you have to define the containers in the BPM.

and you also have to define the interface mapping b/w those two abstract interfaces.

once you define the interface mapping you will be able to select the interface mapping using the transformation step in BPM.

once you select the interface mapping in BPM then you will be able to selece the interfaces

if you still face the problenm please reply me back.

Thanks

Rinku Gangwnau