Run Script condition by acitivity result
Hi team
Here is our requirement. When user clicks one button, current harness will be refreshed and an activity will run while the refreshing. After refresh, we need to decide whether to run a Java Script function by the result of activity.
We tried to add action set has an Click event and do Refresh-Current-harness action then do Run Script action with a when codintion, but Run Script action will be exeuted before activity finish, so script function will not be exeuted by the result of activity.
Could anyone has adivse about how to achieve this?
Thanks
***Edited by Moderator Marissa to update platform capability tags****