Hi,
As per my use case I created new page based on custom template and triggering the workflow for that page. I am getting error as "Caused by: javax.jcr.RepositoryException: Not an absolute path: ." for the first time while triggering the workflow.It is working fine for the next time.Please guide me how to resolve this.
else if (payloadNode.getPrimaryNodeType().isNodeType("cq:Page")) {// for template payload
path = payloadPath + "/jcr:content";
node = (Node) jcrSession.getItem(path);
Views
Replies
Total Likes
Could you explain us more? How you are creating this page from "Site Admin" or CRXDE? is this exception is coming when it is hitting your code?
Simple way to verify this , after adding the page in "Site Admin" just refresh the parent node and check it,it is added or not.
Views
Replies
Total Likes
I have also faced same issue while creating the new page by services. That is first time, Now I am not getting that error.
The reason is while creating the page it is unable to get the full path of that page location.
I didn't do any code changes but now code is working fine.
Views
Replies
Total Likes
How are you creating the page and triggering the workflow ??
If you are trying to do this using programmatically. Make sure you are saving the session after you create the page and then trigger the workflow.
Views
Replies
Total Likes
Hi All,
Thanks for your reply. I created pages from Site Admin based on customized template.I am trying to capture custom metadata as per use case.Once it is done I created button to trigger the workflow from that page.During the first call when hitting the process step for captured metadata validation it is throwing that error.
Thanks,
Kirithi
Views
Replies
Total Likes
Do out of the box AEM pages work? I am wondering if issue is with your WF.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies