How to get the Microflows name into a variable?

0
I have microflows named 'Test_xyz' and need the microflows name in a variable. How to do that?
asked
1 answers
9

You can create a custom java action, take the Microflow name from the execution stack and return it as string.

 

return getContext().getActionStack().elementAt(getContext().getActionStack().size()-2).getActionName();

answered