Please let me know if anyone came across a situation where we need to read the currently running workflow information..
To be precise, I have a workflow which starts a method, which in turn executes code present in an include.. Now, in this include, I need to know whether it was called from the workflow.. (What i mean to say is that, the include could have been called from many places.. like BAdI methods etc.. I need to execute a specific action only if it was called from the workflow.)
The plan could be something like.. "read all the currently running workflows and get the related information" .. Any idea how????