Custom Action from Another Action

I am calling custom action from another custom action using code as shown below - class ActionNotHappy(Action):

def name(self) -> Text:

    return "action_dosomething"

def run(

        self,

        dispatcher: CollectingDispatcher,

        tracker: Tracker,

        domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
        FollowupAction("action_callback")]

It is calling my action action_callback from action_dosomething

but it is going in infinite loop

can someone help

This worked just added 2 stories -

workable

  • makeit workable

    • action_dosomething

do something and callback

  • do something

    • action_dosomething

    • action_callback