Not able to run multiple custom actions defined in rules.yml

So, I have a form which takes two slots as requirements, fills them perfectly and executes the required custom action after it. However, I need another custom action to be running after this custom action and so I have defined it in my rules.yml as shown -

The action- action_ack_user_input runs perfectly fine, but the next custom action below it i.e. action_slack_workflow_execution doesn’t run at all. In my prompt, rasa run actions --debug after the action_ack_user_input finishes running, there is nothing else in the prompt, basically no other custom action runs after it.

As shown, nothing is there after last line. Is this a glitch in rasa 2.x with rules.yml?

Note: I’m running rasa 2.8.15

@nik202 do you mind taking a look at this one?

I created a init rasa project to test it and works fine using rasa 2.8.27

domain.yml

actions:
  - action_hello_1
  - action_hello_2

rules.yml


rules:

- rule: Say goodbye anytime the user says goodbye
  steps:
  - intent: goodbye
  - action: action_hello_1
  - action: action_hello_2

actions.py

from typing import Any, Text, Dict, List

from rasa_sdk import Action, Tracker
from rasa_sdk.executor import CollectingDispatcher


class ActionHelloWorld(Action):

     def name(self) -> Text:
         return "action_hello_1"

     def run(self, dispatcher: CollectingDispatcher,
             tracker: Tracker,
             domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:

         dispatcher.utter_message(text="Hello action 1")
         return []
class ActionHelloWorld2(Action):

     def name(self) -> Text:
         return "action_hello_2"

     def run(self, dispatcher: CollectingDispatcher,
             tracker: Tracker,
             domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:

         dispatcher.utter_message(text="Hello action 2")
         return []

Maybe, you can use FollowupAction('name_action')

fallowup

@itsjhonny Actually, my case might be since I’m trying to run an action which dispatches responses in a slack app. Slack shows responses only if they show up within 3 secs of timeout. That might be the case, however, the action should still run in command prompt and give out atleast the print statements. Wonder, what’s going on with it.

Wow, 3secs its too fast lol I never build bot to Slack app

Did you make little test using rasa shell?

Yeah, my action has some interactive elements, so will try in some other channel. Maybe a socket channel and update here then!