Angel Garcia
Posts: 0
Joined: Thu Jun 11, 2015 11:37 am

Execute second success action if first action is success

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Execute second success action if first action is success

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...

Return to “Issues”