Process Builder is unavailable
Written By
Madeleine Clay
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- When I try to access workflows, the message
Process Builder is temporarily unavailable. is displayed in the UI and a NoSuchResourcePermissionException error in the logs:
ERROR [http-nio-8080-exec-1][KaleoDesignerWorkflowPortletTab] Unable to include JSP /designer/view_workflow_definitions.jsp
org.apache.jasper.JasperException: java.lang.IllegalArgumentException: Someone may be trying to circumvent the permission checker: {companyId=[], name=com.liferay.portal.workflow.kaleo.model.KaleoDefinitionVersion, primKey=[], scope=[]}
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:440) ~[jasper.jar:9.0.65]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) ~[jasper.jar:9.0.65]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) ~[jasper.jar:9.0.65]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) ~[servlet-api.jar:4.0.FR]
at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:328) ~[bundleFile:?]
at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:340) ~[bundleFile:?]
[...]
Resolution
- This issue can occur if by some chance the
ModelListener isn't present at the time that a KaleoDefinitionVersion is added, leading to a KaleoDefinitionVersion being added without its associated resource permissions.
- The circumstances that might cause the
ModelLister to not be present are unusual, but if the permissions are not initially created, they will need to be added to the database. Please open a HC ticket to request a groovy script to add the missing permissions.
- The fix for LPS-172100 (released in U60) prevents this issue by moving the resource-adding logic into the
KaleoDefinitionVersionLocalServiceImpl.addKaleoDefinitionVersion method.
Did this article resolve your issue ?