Problem using Force Followup Action

rasa-core

(Nikhil Bansal) #1

Hi

I was following below docs

http://rasa.com/docs/core/api/events/#force-a-followup-action

I implemented below code in one of my action class like this

class ActionResetPass(Action):

def apply_to(self, tracker): def run(self, dispatcher, tracker, domain):

  tracker.trigger_follow_up_action(self.ActionEmployeeCodeInput)

Here i tried to force my actions i.e Reset Password action and Employee Code Input action to be in a follow up.

But on running the bot i.e on typing reset password i get this error

tracker.trigger_follow_up_action(self.ActionEmployeeCodeInput) AttributeError: ‘Tracker’ object has no attribute ‘trigger_follow_up_action’


(Nikhil Bansal) #2

@akelad??


(Akela Drissner) #3

I think you already created a post for this? Please avoid post duplication