Activity Self Referential Object


Is there a way within the ECMAscript of any particular activity to reference the parent activity's information? I am thinking of something like an "activity" object class with a method like activity.getName() so I could use the activity name within a message I am sending back for status. In particular, I am writing some REST activities which return JSON to ServiceNow and would like to be able to identify the source activity without having to edit each of my dozen different REST activities in multiple places.

Parents Reply Children
No Data