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".
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?
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.
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.
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.
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?
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.
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
@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
Hi Darren,
Thanks for your quick reply. Please see the following images and tell me what is wrong :(
Thanks,
Anuj
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.
Hi Darren,
Yes i have already read manual and watched introductory screencast.
Thanks
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.
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
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
Hi Darren,
Sorry for late reply, every thing is working except workflow tab.Means its not showing notifications in workflow tab.
Thanks
Anuj
What are the properties for your filter docs task - please post a screenshot.
Also - explain how you are starting the workflow.
Thanks.
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
Can you email me your workflow log files - they should be in your ~/App_Data folder
My email is df at fergusonmoriyama dot com
Hi Darren,
I have sent you an email, please have a look at them.Waiting for your relpy.
Thanks
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?
No, i have selected only one document type.Please see the image below.
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?
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
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.
is working on a reply...