You are on page 1of 10

Assignment: Local Integration process & Exception Handling

Local Integration Process

We will continue from last assignment of Calculator demo

Try to achieve same results with calling Local Integration process from pallet functions

Message mapping and HTTPS adapter will same as that of previous demo Calculator

Call Local integration process


Assignment: Local Integration process & Exception Handling

And Put message mapping from Main Integration process to Local Integration process and connect to
start event and end event as above

In integration process, put pallet function- Process call below

Select Local integration process from Process call

Design your Iflow like below

1 Integration process calling local integration process through process call


Assignment: Local Integration process & Exception Handling

Test from Postman with same input of calculator

I am able to get similar response as earlier case with only Integration process
Assignment: Local Integration process & Exception Handling

Exception Handling
We want to capture any exception raised in I-flow through exception handling via exception subprocess
pallet functions

Put exception subprocess in Local Integration process and define content modifier to provide conatsnt
custom error message
Assignment: Local Integration process & Exception Handling

Case-1: Add end Message event in exception subprocess and trigger from postman
Assignment: Local Integration process & Exception Handling

Response generated with Custom Error message

Case-2: Try to make an expression in content modifier to capture error to exception subprocess
Assignment: Local Integration process & Exception Handling

You are able to get all error log

Case-3: Put and error end event to exception subprocess


Assignment: Local Integration process & Exception Handling

You will see message status is failed and error is shown in log

Case-4: Put and escalation end event to exception subprocess


Assignment: Local Integration process & Exception Handling
Assignment: Local Integration process & Exception Handling

Message status is escalated

------------------------------------Happy Learning----------------------------------------------------------------------------------

You might also like