External link through a microflow

0
Hi all, In my application, I have a microflow which has a REST consume activity(POST). Based on the result of this activity, whether it was a success or a failure(Eg. 404 or 400), I want to redirect to an external link or my own error page respectively. How do we achieve this in my microflow? Thanks - Kamala
asked
3 answers
0

In your microflow you need to check the error code, you can get this from the HttpResponse entity StatusCode attribute.

If it’s an error, then direct to your error page. If it’s a success, redirect to a page with a URL Redirector widget on it to send the user to your external page.

Hope this helps

answered
1

Use a split to determine which error you received back and based on that show either the page with the redirect  to external page or show your own error page.

Regards,

Ronald

 

answered
1

Hi KamalaMadhuri Taduri

In Mx8, This is made easier using nanoflows and custom javascript action without intermediary page! 

Kindly refer this forum : https://forum.mendix.com/link/questions/96432

Thanks!

answered