Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Guided procedure Runtime parameter

Hi all,

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.

Ramien.-

Former Member
Former Member replied

Hi Ramien,

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();

Regards

Sundeep

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question