I have a delay activity with an interval set to 1 day.
For some reason the workflow Timer is not activating the workflow once the time has elapsed.
I have installed the SharePoint infrastructure update, but it did not resolve the issue.
The workflow is also set to listen for an item change event, if I change the item after the delay interval the delay is activated.
Any thoughts?
I had this experience as well, and got confused about what the problem is. For me, it turned out to be this, which has a hotfix:
http://support.microsoft.com/default.aspx?scid=kb;en-us;932394
I don't think this would have been included in the SharePoint infrastructure update, as this is a problem with the .NET Framework and Windows Workflow Foundation rather than SharePoint specifically.
Related
We have a Dev server in which we then move the solution across to Live to apply any updates that we have done.
We created workflow that sends an email on a trigger of a field change about a year ago. Since then we have made various changes to they way the email works and have been through several solution moves to live.
The last one we did however is now firing two workflows on the trigger, one being the most recent workflow we have updated and the other is the same workflow but about 10 versions back.
I have restarted the Async Processing Service, rebooted the server a couple of times and deactivated then reactivated the workflow.
We are currently using Dynamics 2013 On-Prem.
Any Ideas?
I've been having this issue and been looking for a solution to no avail.
Situation A:
We have a SharePoint 2010 site which contains a list that has a SharePoint Designer workflow. Now everything seems to be working fine, the workflow runs upon item creation and so on, then after quite some time with no one actually editing anything, the workflow just stopped working, no status in the workflow column as well, just suddenly no workflow activities happening in that list, anyone encountered this/knows a solution for this?
Situation B:
We have a SharePoint 2010 site, same as above, we have a list that has a SharePoint designer workflow attached to it. Now this workflow intermittently stops, just suddenly doesn't work upon item creation, no status in workflow columns as well. What happens is that we tried to edit the item and save it again multiple times before it runs. Any idea what's happening?
EDIT: As per checking, I can manually start the workflow.
Sometimes the Workflow Settings can revert to "No New Instances" when you deploy changes to a workflow. You might want to check that.
Otherwise, it doesn't sound like you have a DelayActivity, but it's historically been a place where workflows can hang because of a bug worked around in this blog:
http://the-simple-programmer.blogspot.com/2012/10/sharepoint-workflow-delay-activity.html
You basically have to run:
stsadm -o setproperty -pn job-workflow -pv "Every 5 minutes between 0 and 59" -url http://yoursite
Check your workflow history list. you may get clear picture of what stoping your workflow.
I doubt that this is the reason, but is there a chance that somebody has disabled the Workflows features from the Site settings
As I understand, CRM workflow is trigged when a workflow execution request is received on the server. My question is, if there're many reqeusts arrived at the server to trig the same workflow, will there be multiple instances of the same workflow? i.e. is the workflow code re-entrant? This could lead some server side race condition issue.
Thanks~
Workflow can create multiple instances on a same record. For exameple if you define a workflow which will be running when updating picklist field A. Then you update the field 4 times, and you will see 4 running results about the workflow on the record. To avoid it, you can use conditions to check its running context such as trigger when field A equal XXX. Hope these comments can help you. :)
Does anyone know of a way to prevent access to, or highlight, a specific day in a Sharepoint calendar? The intent is to show which day(s) are not available for a given task.
I have already fashioned a Workflow that would email a user, but it needs to be visual as well - people need to see at a glance what days are avaiable.
Any have any ideas? I'm running on SBS 2008 with WSS 3.0 .. I also have Sharepoint Designer 2007 installed, if it can be leveraged.
Personally, I would do this by creating a new event receiver to run on the calendar. This event receiver should run on new / updates, and should configure item level permissions for any event on that specific day. If you break the item's permission inheritance, and remove read access to all items on that day, no one would be able to see the task.
Obviously, always be very careful when working with item level permissions.
Is there any 'out of the box' feature in SharePoint to allow you to schedule a workflow?
No there is no OTB feature to do that, but depending on the workflow you might be able to fake it.
If it's a SharePoint Designer workflow you've created that you want to run at certain intervals. Then you can make the following changes to it:
Make it run automatically when the
item is changed.
When it's done with the real
functionality then make a delay and
after the delay modify the item and
stop.
A new instance of the workflow will then spawn due to the modification