How do I invoke a custom action inside another custom action?

Suppose I have an if-else statement in my custom action and I need to invoke/call another custom action when a particular condition is met. How do I call this custom action inside my if statement?

Also, is there a way to call/invoke a custom action in the return statement of another custom action?

I use: return [FollowupAction(name=‘action_customaction’)]

2 Likes