Decision handling in microflow

Hi ,  I have a microflow which performs a rest call to invoke an external authentication service . Now When the service returns status as 'success' I need to navigate to the home page else throw a error message . How can I store the response from the external service and check the conditions using exclusive split or any other option in a microflow. ? Thanks in advance.
1 answers

Does your rest call return a boolean or a status message? If its a boolean, you can use an exclusive split with this boolean as a condition, where true will call the show home page activity, and false can show an error message. 


or you can apply an import mapping and use the exclusive split to check one of the values from the object that you import.