Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tom 161 posts 322 karma points
    Feb 09, 2023 @ 17:07
    Tom
    0

    Umbraco Plumber Error

    We purchased Umbraco Plumber license from headquaters. We installed the license.lic and license.key in folder E:\inetpub\wwwroot\pws2\App_Plugins\Plumber folder

    Note: The logged in has the role Workflow Administrators.

    But when I try to send any page through Plumber workflow, we are getting this error

    TypeError: Cannot read properties of undefined (reading 'includes')

    Plumber.Core.Processes.WorkflowProcess

    "No approval flow set for document 1080 or any of its parent documents. Unable to initiate approval task."

    System.Exception: Exception of type 'System.Exception' was thrown.

    Plumber.Web.Api.ActionsController

    "An error occurred initiating the workflow on node 1080": "No approval flow set for document 1080 or any of its parent documents. Unable to initiate approval task."

    Plumber.Core.Exceptions.WorkflowException: No approval flow set for document 1080 or any of its parent documents. Unable to initiate approval task. at Plumber.Core.Processes.WorkflowProcess.InitiateWorkflow(Int32 nodeId, Int32 authorUserId, String authorComment, String scheduledDate, Nullable`1 attachmentId, String variant) at Plumber.Web.Api.ActionsController.Initiate(InitiateWorkflowModel model)

    {"TimeStamp":"2023-02-09T11:52:12.5972814","Level":"Error","Message":"\"No approval flow set for document 1080 or any of its parent documents. Unable to initiate approval task.\"","Exception":"System.Exception: Exception of type 'System.Exception' was thrown.","Properties":{"errorMessage":"No approval flow set for document 1080 or any of its parent documents. Unable to initiate approval task.","SourceContext":"Plumber.Core.Processes.WorkflowProcess","ActionId":"68d2165c-8c08-4f64-b3e1-c8e89d035646","ActionName":"Plumber.Web.Api.ActionsController.Initiate (Plumber.Web)","RequestId":"8000075d-0000-fb00-b63f-84710c7967bb","RequestPath":"/umbraco/backoffice/plumber/actions/Initiate","ProcessId":6072,"ProcessName":"w3wp","ThreadId":214,"ApplicationId":"4f2735a4aa5e8f3bd6a8c87fed500eaaea746981","MachineName":"TESTSERVER1","Log4NetLevel":"ERROR","HttpRequestId":"5fbc506d-cf3a-4861-b2ed-23c11a890059","HttpRequestNumber":4,"HttpSessionId":"430fb990-5e50-9500-c949-8b1e4a106b75","Application":"TST"}}

    Can anyone help?

    Thanks

    Tom

  • Nathan Woulfe 447 posts 1665 karma points MVP 5x hq c-trib
    Feb 20, 2023 @ 08:17
    Nathan Woulfe
    0

    Hi Tom, can you confirm that you have workflow configured either on node 1080 or on one of its ancestor nodes?

    Easiest setup is to add a default workflow to the root node, which all nodes will then inherit until they have their own configuration added.

  • Tom 161 posts 322 karma points
    Feb 21, 2023 @ 12:28
    Tom
    100

    Nathan:

    Thanks for replying.

    More details. Workflow works on node 1080, which is the root node of the site. The error appears when and only when I assoiciate a "Template" in the Info tab of the page! If I don't have a Template assiciated, Plumber works just fine.

    Can you offer anymore advise,

    Tom PS Here is the content on my Template. @using Umbraco.Cms.Web.Common.PublishedModels; @inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage @{ Layout = "FHLBMMELayout"; }

    @Model.Name

    And here is content of my layout "FHLB MME Layout" @using Umbraco.Cms.Web.Common.PublishedModels; @inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage @{ Layout = null; } @RenderSection("HeadEnd", required: false) @RenderSection("BodyStart", required: false)

    <partial name="FHLB/MME/Header.cshtml" />
    
    @RenderBody()
    
    <partial name="FHLB/MME/Footer" />
    
    @RenderSection("BodyEnd", required: false)
    

  • Tom 161 posts 322 karma points
    Mar 01, 2023 @ 11:38
    Tom
    0

    I fixed this error by installing the Umbraco.Workflow v10.0.0 NuGet Package.

Please Sign in or register to post replies

Write your reply to:

Draft