Posted: Thu Jan 12, 2006 7:08 am Post subject: Business Measure to record Process Administrator
Apprentice
Joined: 28 Jul 2005 Posts: 25 Location: Milwaukee
Do any of you workflow masters know how I can record the process administrator in a business measure without having an outside service pass that into workflow via a structure.
Ben- Is the process administrator defined in the model or assigned at process instantiation? I don't think there is a way to get the information into a data metric without first getting into a data structure.
OK, I can think of one way, but I'm not sure it's any better than setting it via API:
Assign a task (like a noop) to the Process Administrator at the start of the process.
Build an expression ACT_USER_ID "UserID"
Create a location after the activity is finished "AfterAct".
Create the Business Measure "ProcessAdmin" defined as the expression "UserID" at the location "AfterAct".
The activity might have to be one that actually gets assigned to a work list rather than one that implements the FMCINTERNALNOOP construct since the construct skips some of the work item creation steps and I'm not sure exactly where the monitor gets the info from. You might have to assign a real activity and set a short expiration on it. Ideally you would use a UPES activity that gets executed, that will definitely set the ACT_USER_ID.
Good luck.
We ended up having a java service use the WF API to figure this out and pass it back to workflow when task is closed. I record it off as a measure at that point.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum