cancel
Showing results for 
Search instead for 
Did you mean: 

GP: Process default Roles Cleared when transported

Former Member
0 Kudos

Hi,

I have created an impersonalized form that triggers a process in guided procedures.

I have set the default roles for process as impersonalized form needs all the roles to be defaulted.

Its working fine in the test system. When I transport this to Production, the default roles get cleared. I get an error message when the form is submitted - ERROR_NO_DEFAULT_USER_FOR_ROLE .

Version: Adobe Livecycle designer 7.1

NW2004s SP15

Thank you,

Vasu

Edited by: Subramanya Srinivas Mullapudi on Feb 6, 2009 6:41 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

The settings for the default roles can only be assigned when the process is in status Active. When transported into a different system, these role assignments are lost and have to be manually set again by either the user or preferably by the administrator. You can find the same configuration screen in the GP Administration workset: General -> Assign Default Roles.

Note that this assignment is lost even if there is in fact a matching user in the destination system available.

Cheers,

Petra

Former Member
0 Kudos

But as I'm using an Impersonalized form, even when I assign the default roles, the impersonalized form still pointing to the process with no default roles. Its not recognizing the default roles assigned in administration.

I cannot change the process to add default roles (in production). So whenever I submit the form I get the error "ERROR_NO_DEFAULT_USER_FOR_ROLE"

Complete error:

SAP Guided Procedures - Error Page

What happened?

An internal error occurred while processing your request

What can you do?

Try again later. If the problem persists, contact your system

administrator.

Additional Error Information

FormPostprocessor.ERROR_NO_DEFAULT_USER_FOR_ROLE

com.sap.caf.eu.gp.base.exception.EngineException:

FormPostprocessor.ERROR_NO_DEFAULT_USER_FOR_ROLE at

com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.createProcessRoleInstance(FormPostprocessor.java:176)

at

com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.prepareProcessRoles(FormPostprocessor.java:157)

at

com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.initiateProcess(FormPostprocessor.java:289)

at

com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.processData(FormPostprocessor.java:564)

at

com.sap.caf.eu.gp.model.iforms.FormPostProcessor.doPost(FormPostProcessor.java:182)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at

javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at

com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at

com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at

com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)

at

com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)

at

com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)

at

com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at

com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at

com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at

com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at

java.security.AccessController.doPrivileged(AccessController.java:207)

at

com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)

at

com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

Sorry for any inconvenence

Former Member
0 Kudos

Hello again

Hmmm... Have to tried in the Edit mode in design time (not Admin workset) on process level, to go to the Default Roles tab page and to manually set again the default role assignments by adding adding users to the relevant roles? And then Save and Activate?

Cheers,

Petra

Former Member
0 Kudos

Hi,

I did this and worked on test box. But in production, it is not possible to edit. I will not have access to Design time.

Also, every time I move into production, I cannot do this. Is this a limitation of GP?

I'm planning to raise an SAP message on this.

Thank you,

Vasu

Former Member
0 Kudos

Hello ,

So, as far as I know that is the only way to deal whit this issue - due to security reasons the default roles cannot be exported :(. I guess you can take it as a limitation in this sense...

Sorry I could not help you more :(.

Cheers,

Petra

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vasu,

yes, this is a limitation. GP Default roles are not transported with the process instance, as Petra said, due to security reasons.

After deployment, you have to go to Design Time and without editing the process add the Default Roles again. Adding default roles does NOT require editing the process template. Also this has to be done only once after deployment.

Regards,

George.

Former Member
0 Kudos

Thanks.