cancel
Showing results for 
Search instead for 
Did you mean: 

SCPI error handling

Hello!

I have a question in SCPI

I have an IFLOW HTTP - HTTP, if the sending fails I have an "Exception Subprocess" that sends the error that occurred to the sender. (Ex: I send by POSTMAN and with this "Exception Subprocess" I get the type of error that I had in the sending, 400,401,403 ... and the text of the error).

I have a "content Modifier" with a body, importing the header and the exception message inside the "Exception Subprocess".

But the IFlow (failed) is showing on my monitor as "completed" I think it is because I am sending the error that I had.

Is there a way that after sending the error message (because it has failed) the IFLOW will show as failed?

Thanks!

Best Regards!

View Entire Topic
sunny_kapoor
Advisor
Advisor

Hi cristian_gallego,

Kindly end the message in Exception Subprocess with Error End Event.

You can find more details here.

Regards,
Sunny

Hi sunny.kapoor2

If I change it to Error End Event, in SCPI I will have it failed (It is correct), but in the "Sender" (Postman in this case) I will always have a 500 error. Currently with the "End Message" the error (400,401...) is sent to the "Sender" (POSTMAN) but I see my IFLOW as "Completed"(this is wrong).

Thanks and Regards!

Cristian Gallego Gonzalez