Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-70345

Out-of-Box StartNode to EndNode workflow remains in pending status



      When we create a new Workflow, an out of the box StartNode -> EndNode process is presented. If we save this as a workflow, then assign it to a task (e.g. Blog Entry), then create a Blog Entry, we find that the Blog Entry is stuck in "Pending".

      The problem seems to be that there shouldn't be any review or approval process for this specific workflow, as the EndNode has an Approve action without any intermediate steps in between.

      <?xml version="1.0"?>
      <workflow-definition xmlns="urn:liferay.com:liferay-workflow_7.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:liferay.com:liferay-workflow_7.0.0 http://www.liferay.com/dtd/liferay-workflow-definition_7_0_0.xsd">
      <![CDATA[Packages.com.liferay.portal.kernel.workflow.WorkflowStatusManagerUtil.updateStatus(Packages.com.liferay.portal.kernel.workflow.WorkflowConstants.getLabelStatus("approved"), workflowContext);]]>

      Steps to Reproduce
      1. Start up a clean DXP + DE-10 bundle
      2. Sign in as [email protected]
      3. Go into Control Panel > Configuration > Kaleo Designer
      4. Add a new workflow
      5. Title the workflow (which contains the default StartNode -> End Node process) and Save
      6. Go into Control Panel > Configuration > Workflow Configuration
      7. Identify Blogs Entry resource, and click on the options action button > Edit
      8. Assign the workflow created in steps 4-5 to Blogs Entry, then save
      9. Go to Lfieray DXP site > Content > Blogs
      10. Add a new blog entry

      Actual Results
      The blog entry is in the Pending status

      Expected Results
      Given that the OOTB workflow should have an Approve action at the EndNode without any approval states, the blog entry should have the Approved status and be published.


        Issue Links



              christopher.kian Christopher Kian
              brian.suh Brian Suh
              Kiyoshi Lee Kiyoshi Lee
              0 Vote for this issue
              4 Start watching this issue


                6 years, 5 days ago


                  Version Package
                  7.0.X EE