cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve IGPExecutionContext exeCtx from a process (IGPProcessInstance)

roberto_tagliento
Active Contributor
0 Kudos

Hi all,

i can obtain the list of PROCESS with IGPRuntimeManager, but i wish retrieve the

IGPExecutionContext executionContext

the same instance of what i get from a CALLABLE OBJECT.

*****

IWDClientUser wdUser = WDClientUser.getCurrentUser();

IUser user = wdUser.getSAPUser();

IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(user);

IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();

IGPWorkItem[] workItems;

workItems = rtm.getWorkItems(GPWorkItemStatus.WORKITEM_STATUS_IN_PROCESS, userContext);

IGPProcessInstance process = rtm.getProcessInstance(workItems[0].getProcessID(), userContext);

IGPStructureInfo inputInfo;

inputInfo = pro.getTemplate().getInputParameters();*

but i wish the inputInstance of the process.

Something like IGPStructure

?????

from here how get the executionContext??

Any idea?

Thanks Roberto

Accepted Solutions (0)

Answers (1)

Answers (1)

roberto_tagliento
Active Contributor
0 Kudos

Sorry for the UP.

But, no one have had this goal?

Roberto.