hi,
In my guided procedure design time, one of the Callable Object is of type "Web Page" that points to a servlet application.
Inside this servlet application I would like to access the current process instance information. Only way of communication would be thourgh URL right?
So just curious, how can I access the correct process Instance ID (not the process ID, which could be hardcoded in the URL ) from my sevlet code?
I would not like to search all the processes like below.
But I would just like to get the current process instance to which this callable object is part of.
<code>
IGPProcessInstanceInfo processInfo[] = rtManager.getRunningInstances(
// specify a search role
GPSearchRole.SEARCH_ROLE_ADMINISTRATOR,
startDate,
endDate,
// specify user context
userContext
);
</code>
Regards
Kiran