Today i am playing around the advanced workflow. I think about how it is possible to made condition based on online payment result.
say we let live site user to create a new document and save it.after document saved we redirect customer to payment gateway to pay an amount of money and after that gateway redirect him to our website , if payment was successful then workflow process can forward it's way else document workflow step must be remain unchanged.
I know that it is possible using API but i want to know it is possible to do that with custom actions? if yes how?
Yes, it should be possible to use custom actions steps in the advanced workflows. How to do it - this is completely up to you. You will need to create the logic in the code to check the payments and then execute the actions you need.
Please, sign in to be able to submit a new answer.