How to catch exception in Mendix

0
Hi All, I'm java developer with 3 years of experience and i would like to switch my career into mendix, so i was relating some topics with java.   I would like to know on how can we implement try catch logic in mendix . Also if anyone have interview question stack , please share.
asked
1 answers
1

Hi Prachi,

 

You can right-click an activity in a microflow and set the error handling to "Custom ....", then you can create 2 outgoing flows from that activity and mark one as the error handler. This is actually a try-catch setup.

 

For more details about error handling, I can recommend this learning path: https://academy.mendix.com/link/paths/81/Error-Handling

 

Good luck!

 

Johan

answered