Page 1 of 1

​ Contact_Info crashes if phone number is unknown

Posted: 18 Jan 2018 17:58
by LWinkler
​Hi,

trying to make a flow thats returns the display_name of a contact from a given phone number.
The action „Init Variables Contact Info“ works fine with SEARCH TYPE=Phone number and SERACH VALUE=Phone number that exists in Contacts.
But if SEARCH VALUE contains an unknown number the execution of the flow aborts with a „No contact found“ error.
Is there a way to trap this error so that the flow continues?

Best,
Lutz

Re: ​ Contact_Info crashes if phone number is unknown

Posted: 18 Jan 2018 18:03
by Martin
Hi,

You can catch exceptions in flows like this:
-attach an action to the action that throws the error (by dragging the plus-icon to a free area and selecting an action of your choice)
-select the connection between the first and the second action
-click the edit icon of the connection
-switch the connection type to Exception

Such an exception-connection is only executed when the first action throws an error but not when the first action is executed normally/successfully.

Regards,
Martin

Re: ​ Contact_Info crashes if phone number is unknown

Posted: 20 Jan 2018 17:32
by LWinkler
That worked. Thank you!!!