Details

    • Fix Priority:
      4
    • Sprint:
      Workflow #06 - Mar 27 - Apr 07, Workflow #07 - April 10 - 21, Workflow #08 - Apr 24 - May 05

      Description

      Steps to reproduce:

      1. Go to Control Panel -> Configuration -> Workflow Definition.
      2. Click Add button.
      3. Enter the name and select business_productivity_join_xor_workflow_definition from source.
      4. Go to Control Panel -> Configuration -> Workflow Configuration.
      5. Click Edit near Blogs Entry.
      6. Choose Join Xor and Save.
      7. Create a blog.
      8. Go to user -> My Account ->My Workflow Tasks.
      9. Under Assigned to My Roles, click assign to me near the Task 1 of the blog.
      10. Under Assigned to Me, click join-xor near Task 1.
      11. Go to Product Menu -> Content -> Blogs.

      Expected result:
      State of the blog is Approved.

      Actual result:
      State of the blog is Pending.

        Issue Links

          Activity

          Hide
          sharry.shi Sharry Shi added a comment -

          With console error like following

               [exec] 01:51:50,560 ERROR [liferay/kaleo_graph_walker-3][ParallelDestination:55] Unable to process message {destinationName=liferay/kaleo_graph_walker, response=null, responseDestinationName=null, responseId=null, payload=com.liferay.portal.workflow.kaleo.runtime.graph.PathElement@1805d53, values={defaultLocale=en_US, companyId=20116, groupId=0, principalName=20156, permissionChecker=com.liferay.portal.kernel.util.TransientValue@13d108e, siteDefaultLocale=en_US, themeDisplayLocale=en_US}}
               [exec] com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.workflow.WorkflowException: Cannot complete a task that is not assigned to an individual user
               [exec] 	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
               [exec] 	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
               [exec] 	at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
               [exec] 	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
               [exec] 	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
               [exec] 	at java.lang.Thread.run(Thread.java:745)
               [exec] Caused by: com.liferay.portal.kernel.workflow.WorkflowException: Cannot complete a task that is not assigned to an individual user
               [exec] 	at com.liferay.portal.workflow.kaleo.service.impl.KaleoTaskAssignmentInstanceLocalServiceImpl.completeKaleoTaskInstanceToken(KaleoTaskAssignmentInstanceLocalServiceImpl.java:156)
               [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
               [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
               [exec] 	at java.lang.reflect.Method.invoke(Method.java:497)
               [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:163)
               [exec] 	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
               [exec] 	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
               [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
               [exec] 	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:51)
               [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
               [exec] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
               [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
               [exec] 	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169)
               [exec] 	at com.sun.proxy.$Proxy433.completeKaleoTaskInstanceToken(Unknown Source)
               [exec] 	at com.liferay.portal.workflow.kaleo.runtime.internal.node.JoinXorNodeExecutor._completeKaleoTaskInstanceToken(JoinXorNodeExecutor.java:170)
               [exec] 	at com.liferay.portal.workflow.kaleo.runtime.internal.node.JoinXorNodeExecutor._completeChildrenKaleoTaskInstanceTokens(JoinXorNodeExecutor.java:157)
               [exec] 	at com.liferay.portal.workflow.kaleo.runtime.internal.node.JoinXorNodeExecutor.doEnter(JoinXorNodeExecutor.java:89)
               [exec] 	at com.liferay.portal.workflow.kaleo.runtime.node.BaseNodeExecutor.enter(BaseNodeExecutor.java:51)
               [exec] 	at com.liferay.portal.workflow.kaleo.runtime.internal.graph.DefaultGraphWalker.follow(DefaultGraphWalker.java:65)
               [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
               [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
               [exec] 	at java.lang.reflect.Method.invoke(Method.java:497)
               [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:163)
               [exec] 	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
               [exec] 	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
               [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
               [exec] 	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169)
               [exec] 	at com.sun.proxy.$Proxy442.follow(Unknown Source)
               [exec] 	at com.liferay.portal.workflow.kaleo.runtime.internal.graph.messaging.PathElementMessageListener.doReceive(PathElementMessageListener.java:57)
               [exec] 	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
               [exec] 	... 5 more
               [exec]     LIFERAY_ERROR: Unable to process message {destinationName=liferay/kaleo_graph_walker, response=null, responseDestinationName=null, responseId=null, payload=com.liferay.portal.workflow.kaleo.runtime.graph.PathElement@1805d53, values={defaultLocale=en_US, companyId=20116, groupId=0, principalName=20156, permissionChecker=com.liferay.portal.kernel.util.TransientValue@13d108e, siteDefaultLocale=en_US, themeDisplayLocale=en_US}}
          
          Show
          sharry.shi Sharry Shi added a comment - With console error like following [exec] 01:51:50,560 ERROR [liferay/kaleo_graph_walker-3][ParallelDestination:55] Unable to process message {destinationName=liferay/kaleo_graph_walker, response= null , responseDestinationName= null , responseId= null , payload=com.liferay.portal.workflow.kaleo.runtime.graph.PathElement@1805d53, values={defaultLocale=en_US, companyId=20116, groupId=0, principalName=20156, permissionChecker=com.liferay.portal.kernel.util.TransientValue@13d108e, siteDefaultLocale=en_US, themeDisplayLocale=en_US}} [exec] com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.workflow.WorkflowException: Cannot complete a task that is not assigned to an individual user [exec] at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32) [exec] at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74) [exec] at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52) [exec] at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756) [exec] at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667) [exec] at java.lang. Thread .run( Thread .java:745) [exec] Caused by: com.liferay.portal.kernel.workflow.WorkflowException: Cannot complete a task that is not assigned to an individual user [exec] at com.liferay.portal.workflow.kaleo.service.impl.KaleoTaskAssignmentInstanceLocalServiceImpl.completeKaleoTaskInstanceToken(KaleoTaskAssignmentInstanceLocalServiceImpl.java:156) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:497) [exec] at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:163) [exec] at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54) [exec] at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58) [exec] at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137) [exec] at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:51) [exec] at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137) [exec] at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) [exec] at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137) [exec] at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169) [exec] at com.sun.proxy.$Proxy433.completeKaleoTaskInstanceToken(Unknown Source) [exec] at com.liferay.portal.workflow.kaleo.runtime.internal.node.JoinXorNodeExecutor._completeKaleoTaskInstanceToken(JoinXorNodeExecutor.java:170) [exec] at com.liferay.portal.workflow.kaleo.runtime.internal.node.JoinXorNodeExecutor._completeChildrenKaleoTaskInstanceTokens(JoinXorNodeExecutor.java:157) [exec] at com.liferay.portal.workflow.kaleo.runtime.internal.node.JoinXorNodeExecutor.doEnter(JoinXorNodeExecutor.java:89) [exec] at com.liferay.portal.workflow.kaleo.runtime.node.BaseNodeExecutor.enter(BaseNodeExecutor.java:51) [exec] at com.liferay.portal.workflow.kaleo.runtime.internal.graph.DefaultGraphWalker.follow(DefaultGraphWalker.java:65) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:497) [exec] at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:163) [exec] at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54) [exec] at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58) [exec] at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137) [exec] at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169) [exec] at com.sun.proxy.$Proxy442.follow(Unknown Source) [exec] at com.liferay.portal.workflow.kaleo.runtime.internal.graph.messaging.PathElementMessageListener.doReceive(PathElementMessageListener.java:57) [exec] at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26) [exec] ... 5 more [exec] LIFERAY_ERROR: Unable to process message {destinationName=liferay/kaleo_graph_walker, response= null , responseDestinationName= null , responseId= null , payload=com.liferay.portal.workflow.kaleo.runtime.graph.PathElement@1805d53, values={defaultLocale=en_US, companyId=20116, groupId=0, principalName=20156, permissionChecker=com.liferay.portal.kernel.util.TransientValue@13d108e, siteDefaultLocale=en_US, themeDisplayLocale=en_US}}
          Hide
          adam.brandizzi Adam Brandizzi added a comment -

          Just started reviewing liferay/com-liferay-portal-workflow#50.


          Sent from GH

          Show
          adam.brandizzi Adam Brandizzi added a comment - Just started reviewing liferay/com-liferay-portal-workflow#50 . Sent from GH
          Hide
          adam.brandizzi Adam Brandizzi added a comment -

          Pull request submitted to liferay/com-liferay-portal-workflow#53.


          Sent from GH

          Show
          adam.brandizzi Adam Brandizzi added a comment - Pull request submitted to liferay/com-liferay-portal-workflow#53 . Sent from GH
          Hide
          adam.brandizzi Adam Brandizzi added a comment -

          Pull request submitted to liferay/com-liferay-portal-workflow#54.


          Sent from GH

          Show
          adam.brandizzi Adam Brandizzi added a comment - Pull request submitted to liferay/com-liferay-portal-workflow#54 . Sent from GH
          Hide
          adam.brandizzi Adam Brandizzi added a comment -

          Pull request submitted to liferay/com-liferay-portal-workflow#55.


          Sent from GH

          Show
          adam.brandizzi Adam Brandizzi added a comment - Pull request submitted to liferay/com-liferay-portal-workflow#55 . Sent from GH
          Hide
          adam.brandizzi Adam Brandizzi added a comment -

          Just started reviewing liferay/com-liferay-portal-workflow#57.


          Sent from GH

          Show
          adam.brandizzi Adam Brandizzi added a comment - Just started reviewing liferay/com-liferay-portal-workflow#57 . Sent from GH

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                11 hours, 6 minutes ago

                Development

                  Agile

                    Subcomponents