There are times that I need to proceed with a flow even though an http transformer fails. With this, i have some questions.
-
How do i continue a task even though a transformer failed?
Use case is when i fetch a product, and it doesnt exist, it will throw an error. After this, I need to post a product since it doesnt exist. But the current flow just stops everything from the error point. -
The other one is how to mock an error? Use case is when I submit a PUT request, it will return 200, but returns relevant data with message : Invalid. How do I make the request fail so it notifies as failure?