Custom Automation Action not working

Mb _Krishna asked on March 16, 2017 10:18

I created a custom action class in app_code folder inheriting AutomationAction class and overriding execute method. Registered it as an custom action. Triggered when user performs an activity (purchase) . In steps Start->custom Action -> End. But it didn't execute. If I'm correct, If I keep a break point near execute it should get hit ?.I tried with inheriting ContactAutomationAction class. But still the same result. Please share your thoughts on this ?

Recent Answers

Rui Wang answered on March 16, 2017 15:38 (last edited on March 16, 2017 15:40)

Can you explain little bit on where you are using this custom action? For online marketing automation process? Or just for some eCommerce purchase?

Your custom action may need to be registered through event handler

0 votesVote for this answer Mark as a Correct answer

Mb _Krishna answered on March 17, 2017 06:23

@Rui Im Trying to use the custom marketing automation action in kentico online marketing automation process. I have Registered custom Action. Steps used in automation process is Start-> myCustomAction ->End. I took a reference of -->

But automation process is not getting hit. Trigger that I have set up for the process TYPE:"user performs an activity" ACTIVITY TYPE:"Purchase" (I want to trigger is automation when user makes an order) How to trigger this automation process or Is there any other way to trigger automation process other than triggers ?

0 votesVote for this answer Mark as a Correct answer

Rui Wang answered on March 17, 2017 19:18

Do you have activity tracking enabled? Can you try to setup a test flow using the same trigger but set the action to update contact status to something. It sounded like the trigger is not be triggered.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.