I included the code given in the support article in a Java step of the called activity. actName variable was supposed to give the calling activity name but unfortunately it did not. It returned the value "pyrunrecordexecute" as you can see in below screenshot
If you try the java code in the support article, does it return to you the name of the calling activity ?
I used the attached Java code in Activity Java Step. However it did not return Calling Activity Name in "ActName" local variable in tracer. Instead it returned the value "pyrunrecordexecute" as you can see in below screenshot