How to Find out From Where a Process Was Called

Is there a way to find out who/what/where from the process was called?
I have a sub process/form that should display different buttons depending on where it was called from.

OriginalPostID-138892

OriginalPostID-138892

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data