Guided procedure Runtime parameter
I'm chewing a hard candy with a guided procedure requirement, I need to read from a WS type CO some meta data from the current instance of a GP.
What am I trying to get are the performer name and creation date in the second action of a block.
I've created a custom role where customer can select the preferable user to him (Runtime actor).
All interfaces I found on the API doc needed the processId parameter to work, I think that this is not a problem if a could find the way to pass from the Gp this parameter.
I'm trying to use IGPRuntimeManager.getProcessInstance method, but processId is needed.
I'll appreciate any help
Thanks in advance.
I suppose you have acces to the executionContext of GP...
You can use the following method to get the process Id:
String processId = executionContext.getProcessId();