Current position:  Home > Default > Need to change the name of a GP process instance at runtime.

Need to change the name of a GP process instance at runtime.

Time:November 30
Advertisement
Is there a way to change the name of a GP process instance at runtime?  I would like to change the name of the process instance to include the employee's name who initiated the process.  This way when the process owner or overseer displays thier list of processes from the GP Runtime Work Center, they can tell who initiated each process.
Does anyone know how to do this?
Advertisement
Hi Karen,
If the users are invoking the Process from Web Dynpro or some other application using GP API, then you can try the followigI.
You can try using the startProcess() method of the IGPRuntimeManager object. It has multiple paramaters of which two(second and third) are for the userProvidedName and userProvidedDescription. You can set any name and description while invoking the GP process and the name and description should appear in the Runtime for the owners/overseers/administrators in hte list of process instances. You can add the name of the Employee while setting that name and description.
help.sap.com link for the info on this:
http://help.sap.com/saphelp_nw70/helpdata/en/43/fcdf77fc6510b3e10000000a11466f/frameset.htm
Regards,
Ajay