Skip to Content
Former Member
Mar 05, 2007 at 04:18 PM

GP API: cannot start a process



I am working with SP 9 Trial and I cannot start a process through GP API.

I set runtime roles during instantiation but I get exception: cannot overwrite role Approver during instantiation

If I delete this role definition GP throws another exception: The role with type Initiation Defined is empty. Please add users to this role: Approver#

Could you help me what have I missed? May be it is a bug. Or I need to set permissions in order to define users in code roleInstance.addUser(userFactory.getUserByLogonID(portalUser));