on 02-06-2009 5:41 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.