I have created a workflow in AEM 6.2 where I am having a AND split, which is having 2 branches, each branch is having a dialog participant step. Workflow looks like below:
In dialog participant step, I have created a dialog which is having a dropdown field added.
When I am running this workflow on a page, I am able to complete mcr branch but when I am completing other branch [brand], I am getting error as “Could not complete workflow” and control does not go to qc step the last one. Can someone please help on how to resolve the issue.
Views
Replies
Total Likes
What messages are you seeing in the log message.
Views
Replies
Total Likes
Please provide the logs. This should have something to do with the custom process you have created.
Views
Replies
Total Likes
Hi,
We are getting following error for second user in inbox when they are completing workflow. But it's posting values to payload node and it's not going next step (QC). Issue also exist in 6.3 version also.
java.lang.IllegalArgumentException: Invalid name: jcr:conent/status
at org.apache.jackrabbit.oak.spi.state.AbstractNodeState.checkValidName(AbstractNodeState.java:61)
at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.getChildNode(MemoryNodeBuilder.java:330)
at org.apache.jackrabbit.oak.core.SecureNodeBuilder.<init>(SecureNodeBuilder.java:116)
at org.apache.jackrabbit.oak.core.SecureNodeBuilder.getChildNode(SecureNodeBuilder.java:329)
at org.apache.jackrabbit.oak.core.MutableTree.createChild(MutableTree.java:92)
at org.apache.jackrabbit.oak.core.MutableTree.createChild(MutableTree.java:37)
at org.apache.jackrabbit.oak.plugins.tree.impl.AbstractTree.getChild(AbstractTree.java:240)
at org.apache.jackrabbit.oak.core.MutableTree.getChild(MutableTree.java:161)
at org.apache.jackrabbit.oak.jcr.delegate.NodeDelegate.findMatchingPropertyDefinition(NodeDelegate.java:600)
at org.apache.jackrabbit.oak.jcr.delegate.NodeDelegate.setProperty(NodeDelegate.java:519)
at org.apache.jackrabbit.oak.jcr.session.NodeImpl$35.perform(NodeImpl.java:1376)
at org.apache.jackrabbit.oak.jcr.session.NodeImpl$35.perform(NodeImpl.java:1364)
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:208)
at org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:112)
at org.apache.jackrabbit.oak.jcr.session.NodeImpl.internalSetProperty(NodeImpl.java:1364)
at org.apache.jackrabbit.oak.jcr.session.NodeImpl.setProperty(NodeImpl.java:434)
at com.adobe.granite.workflow.core.jcr.WorkflowManager.archiveWorkItem(WorkflowManager.java:670)
at com.adobe.granite.workflow.core.jcr.WorkflowManager.archiveWorkItem(WorkflowManager.java:613)
at com.adobe.granite.workflow.core.advance.EndNodeHandler.doTransition(EndNodeHandler.java:129)
at com.adobe.granite.workflow.core.advance.AndJoinNodeHandler.doTransition(AndJoinNodeHandler.java:125)
at com.adobe.granite.workflow.core.advance.AdvanceUtil.transitionFrom(AdvanceUtil.java:131)
at com.adobe.granite.workflow.core.WorkflowSessionImpl.completeInternal(WorkflowSessionImpl.java:1058)
at com.adobe.granite.workflow.core.WorkflowSessionImpl.complete(WorkflowSessionImpl.java:1032)
at com.adobe.granite.workflow.console.servlet.InboxServlet.findRouteAndAdvance(InboxServlet.java:395)
at com.adobe.granite.workflow.console.servlet.InboxServlet.advance(InboxServlet.java:377)
at com.adobe.granite.workflow.console.servlet.InboxServlet.advance(InboxServlet.java:367)
at com.adobe.granite.workflow.console.servlet.InboxServlet.doPost(InboxServlet.java:235)
at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:149)
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:346)
Thanks
Rajesh
Views
Replies
Total Likes
Its stating there is an invalid name. DO you have an idea on what name that is used in the workflow that it is complaining about.
Views
Replies
Total Likes
Hi,
Thanks for responding. The name " jcr:conent/status" used in dialog which is referred in dialog participant step which has options like "Approve", "Approve with comments" etc. based on status selected by reviewer it need to post status to payload node.
Below are the actual status rendering from child dialog referred in dialogparticipent step in workflow.
We can reproduce this by adding dialog participant step in "And Split" component provide text field or drop down options in dialog to select by reviewer.
Thanks
Rajesh
Views
Replies
Total Likes
If you do not have the split - does the error occur?
Views
Replies
Total Likes
No, It's only throwing for And split. But we need "And Split" for parallel review.
Views
Replies
Total Likes
I asked Eng to look here.
Views
Replies
Total Likes
Eng stated:
He needs to confirm that he’s on the latest SP and CFP and try again. If it still has problems he should contact support.
We re-worked how some of this works, need to make sure he’s on the “latest code” before moving forward.
Views
Replies
Total Likes
I am trying to install AEM-6.2-Service-Pack-1-6.2.zip but it's looking for adobe/cq620/hotfix:cq-6.2.0-hotfix-12785:7.0
I am also trying to find hotfix-12785 in AEM 6.2 hotfixes but I didn't find in this page. Could you please point me the right URL.
Thanks for your quick responses.
Rajesh
Views
Replies
Total Likes
See AEM 6.2 hotfixes
Also - consider opening a ticket so support can investigate and make sure you have all the fixes you need for this use case.
Views
Replies
Total Likes
Sure, I will open support ticket, I just want to let you know that I installed following packages and still same issue:
regards
Rajesh Karka
Views
Replies
Total Likes
The workaround for this to add "Go To Step" without any configuration that push workflow to "JOIN Split". Then it goes to next step after and split.
I am facing the same issue on 6.3 SP1 as well.
Can you please elaborate on the workaround?
Views
Replies
Total Likes
The name which is used in dialog is throwing for second user not for first user. It's actually posting value to payload node.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies