AnsweredAssumed Answered

Access to Operator Meta Data?

Question asked by James_Keeler on Dec 9, 2014
Latest reply on Dec 9, 2014 by Tom_Kouhsari

Is there a way for an operator to access its own meta data to retrieve things like its name, comments, or options? I have a use case where I need to programmatically find an operator's name. At first glance this would seem to be simple but I'm struggling to find a way to get the information.


Here's an example of what I'm attempting to do:

I want to log every action of every operator in a separate log file for our internal auditors. The format of the log file should be similar to this:


<time stamp>  [<process instance name>] [<operator name>] <logged message>



2014-12-09 08:04:02.482  [ProcessTesting_53165] [Configure_Network_Adapter_1] Attempting to assign the IP address

2014-12-09 08:04:02.912  [ProcessTesting_53165] [Configure_Network_Adapter_1] ERROR - This operator is in Blocked state

Getting the process instance name is trivial, but I need to be more precise with my logging. I need to include the operator name and I do NOT want to hard code it.