Copied to clipboard

Flag this post as spam?

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


  • Anuj 15 posts 35 karma points
    Feb 10, 2012 @ 08:00
    Anuj
    0

    No Valid Workflow Instantiation Criteria

    Hi,

    I am new to umbraco, so please help me.I have lots of notifications in my recent content, so when i select some content and tries to send selected content to work flow.It says "No Valid Workflow Instantiation Criteria".

    Whats the problem, am i doing something work?

    Thanks,

    Anuj

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Feb 10, 2012 @ 08:42
    Darren Ferguson
    0

    @Anuj

    As the message suggests you need to create an instantiation criteria in the development section of Umbraco - have you read the manual, and watched the screencasts?

    Many Thanks

  • Anuj 15 posts 35 karma points
    Feb 10, 2012 @ 08:53
    Anuj
    0

     

    Hi Darren,

    Thanks for your quick reply. Please see the following images and tell me what is wrong :(

     

     

     

    Thanks,

    Anuj

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Feb 10, 2012 @ 08:57
    Darren Ferguson
    0

    Hi Anuj,

    I asked you two questions which you haven't answered:

    1. Have you read the manual?

    2. Have you watched the introductory screencast?

    Instantiation criteria are created from the developer section of Umbraco - there is a dashboard tab to do this.

    Many Thanks.

  • Anuj 15 posts 35 karma points
    Feb 10, 2012 @ 09:21
    Anuj
    0

    Hi Darren,

          Yes i have already read manual and watched introductory screencast.

    Thanks

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Feb 10, 2012 @ 09:28
    Darren Ferguson
    0

    Hi Anuj,

    So in the introductory screencast - did you see that you need to create an instantiation criteria for your workflow in the developer section of Umbraco?

    There is a tab in the developer section that allows you to do this.

    Many Thanks.

  • Anuj 15 posts 35 karma points
    Feb 10, 2012 @ 09:41
    Anuj
    0

    Hi Darren,

    I know that and i have already created one creteria, which stops editor from publishing pages.But when i check my workflow in the content section of Umbraco.It show empty.Means there is no notification in the work flow tab in the content section of Umbraco.

    Thanks

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Feb 10, 2012 @ 13:05
    Darren Ferguson
    0

    Hi, In your instantiation criteria you need to check "allow manual instantiation" in order that documents can be sent to workflow from the dashboard.

    Thanks

  • Anuj 15 posts 35 karma points
    Feb 14, 2012 @ 09:24
    Anuj
    0

    Hi Darren,

    Sorry for late reply, every thing is working except workflow tab.Means its not showing notifications in workflow tab.

     

    Thanks

    Anuj

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Feb 14, 2012 @ 10:34
    Darren Ferguson
    0

    What are the properties for your filter docs task - please post a screenshot.

    Also - explain how you are starting the workflow.

    Thanks.

  • Anuj 15 posts 35 karma points
    Feb 14, 2012 @ 11:27
    Anuj
    0

     

    From above imgaes you can see how flow works.I have two user Anuj and Tarlok.When i login with "Anuj" and tries to save,  workflow notofication pops up saying"Remember to publish website". Then i goto  My Recent Content and select content page and send selected content to workflow.Another window pops up "Send to WorkFlow" and i select my custom workflow from dropdown and click send to workflow.Then when i open workflow tab, its empty.

    Thanks

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Feb 14, 2012 @ 11:52
    Darren Ferguson
    0

    Can you email me your workflow log files - they should be in your ~/App_Data folder 

    My email is df at fergusonmoriyama dot com

  • Anuj 15 posts 35 karma points
    Feb 14, 2012 @ 12:03
    Anuj
    0

    Hi Darren,

    I have sent you an email, please have a look at them.Waiting for your relpy.

    Thanks

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Feb 14, 2012 @ 13:15
    Darren Ferguson
    0

    From your log:

    ERROR 28 FergusonMoriyam.Workflow.Application.Runtime.WorkflowRuntime - An error occured during a runnable task (workflow will terminate) - FergusonMoriyam.Workflow.Umbraco.Domain.Task.FilterDocumentsWorkflowTask

    System.NullReferenceException: Object reference not set to an instance of an object.

       at FergusonMoriyam.Workflow.Umbraco.Domain.Task.FilterDocumentsWorkflowTask.Run(IWorkflowInstance workflowInstance, IWorkflowRuntime runtime)

       at FergusonMoriyam.Workflow.Application.Runtime.WorkflowRuntime.Run()

    ERROR 28 FergusonMoriyam.Workflow.Application.Runtime.WorkflowRuntime -    at FergusonMoriyam.Workflow.Umbraco.Domain.Task.FilterDocumentsWorkflowTask.Run(IWorkflowInstance workflowInstance, IWorkflowRuntime runtime)

       at FergusonMoriyam.Workflow.Application.Runtime.WorkflowRuntime.Run()

    This means that the workflow is ending in the filter documents task - do you have one or more document types selected in the properties for that task?

  • Anuj 15 posts 35 karma points
    Feb 14, 2012 @ 14:05
    Anuj
    0

    No, i have selected only one document type.Please see the image below.



  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Feb 14, 2012 @ 15:38
    Darren Ferguson
    0

    Difficult to tell what is happening - to be honest. I could release a patch with more logging around termination. but i wouldn't be able to release that until Friday.

    Are you evaluating at the moment?

     

  • Anuj 15 posts 35 karma points
    Feb 14, 2012 @ 15:44
    Anuj
    0

    Hi Darren,

    No problem, I will wait for the patch :)

    In the mean time can you give the link to download your previous version workflow.Means previous version than this current version.

    Thanks

    Anuj

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Feb 14, 2012 @ 18:35
    Darren Ferguson
    0

    I don't belive that we have a previous version that will help you out.

    By the way - are you a customer - or evaluating right now? Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft