Page 1 of 1

Execute second success action if first action is success

Posted: Wed Jul 15, 2015 8:41 am
by Angel Garcia

I am using a barcode scanner in my app and I've seen that whether the result is satisfactory and if is not Appery execute actions in Success.

Is it possible to do something like the following?

SUCCESS: [1. Run Javascript] [2. Mapping]
Javascript:
if (data.cancelled) {//STOP SUCCESS ACTIONS}

Thanks


Execute second success action if first action is success

Posted: Wed Jul 15, 2015 4:36 pm
by Illya Stepanov

Hi Angel -

You will need to write custom JavaScript logic to check service success execution and after that perform another service execution.

More information you can find here: https://devcenter.appery.io/documenta...