10 Replies Latest reply: Jul 29, 2013 11:37 AM by user466190-Oracle RSS

    Self Registeration Approval workflow

    Deena
      Hi,


      I am trying to create Self Registeration Approval workflow.For that i am following this link.

      http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/oim/oim_11g/Request_Workflow_for_Self_Registration/request_workflow_for_self_registration.htm

      I did whatever they mentioned in that link.

      In testing part i am getting the following errors.

      1. When i create the self registeration user i am getting thefollowing error.

      <Error> <oracle.soa.services.workflow.task> <BEA-000000> <<.> Error in task assignment rules evaluation.
      Error in task assignment rules evaluation for user null. The error is Error in getting owners for "{0}" in configuration "{1}".
      Error occurred in getting owners for "SYSTEM ADMINISTRATORS" in configuration "jazn.com".
      Ensure that the group name is valid and has associated owners. Contact Oracle Support Services if error is not fixable.
      .
      Make sure that the rules specified for user null are valid.

      ORABPEL-30060

      Error in task assignment rules evaluation.
      Error in task assignment rules evaluation for user null. The error is Error in getting owners for "{0}" in configuration "{1}".
      Error occurred in getting owners for "SYSTEM ADMINISTRATORS" in configuration "jazn.com".
      Ensure that the group name is valid and has associated owners. Contact Oracle Support Services if error is not fixable.
      .
      Make sure that the rules specified for user null are valid.

      at oracle.bpel.services.workflow.task.impl.TaskRulesService.executeRulesInternal(TaskRulesService.java:391)
      at oracle.bpel.services.workflow.task.impl.TaskRulesService.executeRules(TaskRulesService.java:164)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperationInTrans(TaskService.java:6437)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6125)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
      at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      Caused By: ORABPEL-10587

      Error in getting owners for "{0}" in configuration "{1}".
      Error occurred in getting owners for "SYSTEM ADMINISTRATORS" in configuration "jazn.com".
      Ensure that the group name is valid and has associated owners. Contact Oracle Support Services if error is not fixable.

      at oracle.tip.pc.services.identity.jps.JpsProvider.getOwners(JpsProvider.java:2118)
      at oracle.tip.pc.services.identity.jps.RoleImpl.getOwners(RoleImpl.java:162)
      at oracle.bpel.services.workflow.task.impl.TaskRulesService.getCurrentAssignee(TaskRulesService.java:520)
      at oracle.bpel.services.workflow.task.impl.TaskRulesService.executeRulesInternal(TaskRulesService.java:221)
      at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
      at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:523)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
      at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      Caused By: oracle.security.idm.OperationNotSupportedException: getOwners(filter) not supported
      at oracle.security.idm.spi.AbstractRoleProfile.getOwners(AbstractRoleProfile.java:53)
      at oracle.tip.pc.services.identity.jps.JpsProvider.getOwners(JpsProvider.java:2106)
      at oracle.tip.pc.services.identity.jps.RoleImpl.getOwners(RoleImpl.java:162)
      at oracle.bpel.services.workflow.task.impl.TaskRulesService.getCurrentAssignee(TaskRulesService.java:520)
      at oracle.bpel.services.workflow.task.impl.TaskRulesService.executeRulesInternal(TaskRulesService.java:221)
      at oracle.bpel.services.workflow.task.impl.TaskRulesService.executeRules(TaskRulesService.java:164)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperationInTrans(TaskService.java:6437)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6125)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6096)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6072)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6054)
      at oracle.bpel.services.workflow.task.impl.TaskService.acquireTask(TaskService.java:4623)
      at oracle.bpel.services.workflow.task.impl.TaskService.acquireTask(TaskService.java:4591)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      >


      and the following error i am getting while approving the self register user as system adminstrator.


      <Error> <oracle.soa.services.workflow.task> <BEA-000000> <<.> Internal workflow error.
      An internal workflow error occurred.
      Refer to the log file that is configured for oracle.soa.services.workflow.* for more details on this error and contact Oracle Support Services.

      ORABPEL-30023

      Internal workflow error.
      An internal workflow error occurred.
      Refer to the log file that is configured for oracle.soa.services.workflow.* for more details on this error and contact Oracle Support Services.

      at oracle.bpel.services.workflow.task.impl.WorkflowUtil.createAndStoreWorkflowError(WorkflowUtil.java:3893)
      at oracle.bpel.services.workflow.task.impl.TaskRulesService.executeRulesInternal(TaskRulesService.java:395)
      at oracle.bpel.services.workflow.task.impl.TaskRulesService.executeRules(TaskRulesService.java:164)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperationInTrans(TaskService.java:6437)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6125)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6096)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6072)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6054)
      at oracle.bpel.services.workflow.task.impl.TaskService.acquireTask(TaskService.java:4623)
      at oracle.bpel.services.workflow.task.impl.TaskService.acquireTask(TaskService.java:4591)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      Caused By: java.lang.NullPointerException
      at oracle.bpel.services.workflow.task.impl.WorkflowUtil.createAndStoreWorkflowError(WorkflowUtil.java:3847)
      at oracle.bpel.services.workflow.task.impl.TaskRulesService.executeRulesInternal(TaskRulesService.java:395)
      at oracle.bpel.services.workflow.task.impl.TaskRulesService.executeRules(TaskRulesService.java:164)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperationInTrans(TaskService.java:6437)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6125)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6096)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6072)
      at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:6054)
      at oracle.bpel.services.workflow.task.impl.TaskService.acquireTask(TaskService.java:4623)
      at oracle.bpel.services.workflow.task.impl.TaskService.acquireTask(TaskService.java:4591)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      <May 4, 2012 2:22:17 PM IST> <Warning> <oracle.integration.platform.common> <BEA-000000> <no label soa_da70dd9d-a16a-4844-99f4-0ec3a0f6322d found. will treat namespaces as non-versioned.>

      The requst level approval is done.But operational level approval is not working.
      pls any one suggest me.Here According to that link i have two administrators in my OIM 11.1.1.5.0.

      Regards,
      Deena.

      Edited by: Deena on May 4, 2012 3:22 AM
        • 1. Re: Self Registeration Approval workflow
          904111
          Hi Deena, did you get solution for your issue ? I am getting the same error. Greatly appreciate if you can share the information.

          thank you very much
          Jyothi
          • 2. Re: Self Registeration Approval workflow
            Kevin Pinsky
            This error is shown when assignment go a Group in the SOA assignment. It's because there is no identified group in the jazn piece of it. It does not cause any problems and can be ignore. It is annoying to see it output in the logs all the time, but when you view the approval task that is created, you will see it's assigned to a group.

            You can search metalink and google on this error and you will find it can be ignored.

            -Kevin
            • 3. Re: Self Registeration Approval workflow
              904111
              Hi Kevin, thank you for your quick response. Currently my request is not visible under member of SYSTEM ADMINISTRATORS and I am supposed to see the request. Since I am getting below exception, I thought that is the reason why my request is not gone to members of "System Administrators".

              2012-10-11T11:28:48.437-04:00] [wls_soa1] [ERROR] [] [OIM Authentication Provider] [tid: orabpel.invoke.pool-4.thread-2] [userId: weblogic_idm] [ecid: 0000JdGSJ^p3n3WjLxuHOA1GThu50000B7,0] [APP: soa-infra] oracle.iam.platform.auth.providers.wls.OIMSignatureLoginModule login() Invalid Input username/password


              [2012-10-11T11:28:48.717-04:00] [wls_soa1] [ERROR] [] [oracle.soa.services.workflow.task] [tid: orabpel.invoke.pool-4.thread-2] [userId: weblogic_idm] [ecid: 024170c1c59452c4:6cf1dd30:13a5055519f:-8000-00000000000013f5,1:16568] [APP: soa-infra] [composite_name: DefaultRoleApproval] [component_name: ApprovalTask] [component_instance_id: 200006] [composite_instance_id: 30002] <.> Error in task assignment rules evaluation.[[
              Error in task assignment rules evaluation for user null. The error is Error in getting owners for "{0}" in configuration "{1}".
              Error occurred in getting owners for "*SYSTEM ADMINISTRATORS*" in configuration "jazn.com".
              Ensure that the group name is valid and has associated owners. Contact Oracle Support Services if error is not fixable.
              .
              Make sure that the rules specified for user null are valid.


              Regarding pwd for weblogic_idm, I have verified many times using -------- listCred(map="oim", key="SOAAdminPassword"); It is showing correct pwd from EM console.
              So, I do not know whether I can ignore error related to weblogic_idm. Also, I am able to get into wls console, EM console, OIM console etc using weblogic_idm with this pwd.

              My request is not getting created and assigned to the members of SYSTEM ADMINISTRATORS.

              can you please help me out.

              thanks
              Jyothi

              Edited by: Jyothi on Oct 11, 2012 9:08 AM

              Edited by: Jyothi on Oct 11, 2012 9:09 AM
              • 4. Re: Self Registeration Approval workflow
                904111
                Kevin, please ignore...I was searching for requests under requests tab but I need to look into approval tasks to proceed that's where my requests are visible.

                thanks
                Jyothi
                • 5. Re: Self Registeration Approval workflow
                  967810
                  Jyothi, can you confirm that the exception doesn't have any side effect in your case?

                  https://forums.oracle.com/forums/thread.jspa?messageID=9428501

                  I did what was suggested, (disable workflow, restart servers, enable wf), still have these exceptions.

                  Edited by: 964807 on Oct 11, 2012 12:11 PM
                  • 6. Re: Self Registeration Approval workflow
                    904111
                    yes. We can ignore these exceptions. I have no idea why these severe excetptions are thrown from where etc. But I can see my requests are in place ie., under approval tasks.

                    Thanks to Kevin who made me to think where else my requests might be if I need to ignore these exceptions. Then I clicked on "Approval Tasks" and I see my requests are placed there.

                    thanks
                    Jyothi
                    • 7. Re: Self Registeration Approval workflow
                      967810
                      ok, thanks.
                      something in the server triggered this.... same code doesn't have this problem in another server w/ same version.
                      • 8. Re: Self Registeration Approval workflow
                        597807
                        Hi,

                        I am facing the same problem, I can ignore this error but problem is error desciption is coming into COMMENTS box.
                        for each and every action(saving comments, reassignment etc) in page it is giving the error and that is coming to comments box.

                        Error in comments box:
                        An error occured during evaluating workflow rules for user null. The error is null

                        Please help on resolving the issue.

                        Thanks in advance

                        Regards
                        Bhargavi
                        • 9. Re: Self Registeration Approval workflow
                          967810
                          I don't think this exception can be ignored.

                          We encounter this problem when manager approves a request; while the popup message says "The task was approved.", afterward the status of the request doesn't change, it still shows as "Obtaining Operation Approval".

                          Edit: Never mind, it's get updated with a delay....

                          Edited by: 964807 on Dec 5, 2012 7:25 AM

                          Edited by: 964807 on Dec 5, 2012 7:59 AM
                          • 10. Re: Self Registeration Approval workflow
                            user466190-Oracle

                            Hi Bhargavi,

                             

                            Did you resolve this problem? We have same issue in our environment.

                            Any thoughts?

                             

                            Thanks