Skip to content

Synthetic Workflow docs' example has compile errors #152

Open
@reggie7

Description

@reggie7
  • AEM Version: 6.5
  • ACS AEM Commons Version: 4.0.0
  • Reproducible on Latest? yes

Expected Behavior

Example Code: Synthetic Workflow by Workflow Process Name from the docs compiles and runs out of the box.

Actual Behavior

Example Code: Synthetic Workflow by Workflow Process Name from the docs produces the following error:

Unable to compile class for JSP: An error occurred at line: 56 in the jsp file: /apps/acs-tools/components/aemfiddle/fiddle/fiddle.jsp The method execute(ResourceResolver, String, SyntheticWorkflowModel, boolean, boolean) in the type SyntheticWorkflowRunner is not applicable for the arguments (ResourceResolver, String, String[], Map<String,Map<String,Object>>, boolean, boolean) 53: boolean saveAfterEachWFProcess = false; 54: boolean saveAtEndOfAllWFProcesses = false; 55: 56: swr.execute(resourceResolver, r.getPath(), new String[] { 57: "Extract Meta Data", 58: "Create Thumbnail", 59: "Create Web Enabled Image",
Cannot serve request to /etc/acs-tools/aem-fiddle/_jcr_content.run.html on this server

Steps to Reproduce

Follow the docs and try to run Example Code: Synthetic Workflow by Workflow Process Name.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions