.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
ffttt
Post New Web Links

Information Management Policy to clean up the Workflow History List?

Posted By:      Posted Date: November 16, 2010    Points: 0   Category :SharePoint
 

I have several InfoPath 2007 forms (with workflows) that are heavily used in my MOSS 2007 environment, and the some of the Workflow History lists are very large need to be cleaned up.  I'm trying to use an (Expiration) Information Management Policy to delete items in the Workflow History list that are Last Modified + X days , but haven't had much success.  Has anyone else had success doing this?

Thanks,
Tim




View Complete Post


More Related Resource Links

Information Management Policy & Disposition Workflow

  

I would like to set an information management policy that enbles expiration of documents in my document library. I then want this to kick off a disposition workflow that will then allow the owner of the content (i.e. the last person to modify the document, or creator if it has not been modified) to either delete the document or do nothing. This is all simple to do. My question is: When the disposition workflow kicks off, does it send an email to the document owner or does it simply ceate a task in the specified task list?

 

If it only creates a task, is it possible to notify the document owner that a task has been created? I don't want docment owners to have to have to keep checking the task list, I want an email sent to them whenever a document is about to expire. Is this possible?


Information Management Policy not triggering SPD workflow

  

Hi All,

I have a document library with no special fields (i.e. Lookups) and I have created a workflow via SPD to create a task to review the document and send to a Records Center, if necessary. The WF is working properly.

I then set an Information Management Policy on the library through the SharePoint UI following these steps:

1. Define a policy...
2. Policy Statement: This document expires in 1 day (testing)
3. Checked "Enable Expiration ":
       The retention period is: Modified + 1 + days
       When the item expires:
       Start this workflow: IMP WF Test 2


But the IMP never triggers the workflow.

  • I have checked the "Information Management Policy Configuration" via Central Administration, and "Expiration" is available and set to run daily.
  • I have tried the "Process Expired Items Now" manual option via the CA "Configure Expiration" page.
  • I have tried this with "Require Check Out" enabled and disabled with no success in either case.
  • I have tried this with Publishing features enabled and disabled with no success.
  • I have combed this forum thoroughly looking for similar situations and possible resolutions w

SPField of WorkflowEventType in the Workflow History List has value Workflow Initiated but when i ed

  

hi all

how are you

i wish anyone could help me in this problem

i have a sharepoint sequential workflow created in visual studio

when the workflow starts i log into the workflow history list that workfow is started using the LogToHistoryListActivity

i entered the hidden workflow history list from the browser for example:

http://sharepoint/sites/MySite/Lists/Workflow%20History/AllItems.aspx

i noticed that an item is created in the above list when i run my workflow

the field Event Type in the item above has the value of Workflow Initiated but when i edit the item i noticed that the field Event Type has a value of 0

so can anyone tells me how this field works and from where it is getting itsvalues

thanks a lot

 


Information Management Policy - Expiration not working

  
I've defined a new policy for my list.
The policy has expiration enabled.
The expiration date is WarningDate (required list field - date and time) + 0 days and the expiration should trigger the custom workflow, which would send the warning, but is now only setting the status to Warned.
The workflow works fine when executed manually, but never seems to be actually executed by the item expiration.

I've also updated the "information management policy" job to run every 5 minutes, but it didn't help.
What as I missing?

How to delete the contents of the Workflow History List

  

I'm trying to purge the contents of the workflow history list which has thousands of comments added by the some workflows (I will fix the workflows later!). I'm worried that the huge number of entries in this list is slowing down the site performance. At this stage I do not need any of these entries for any audting or other purpose. I'm not sure of the best way to go about this.

My current strategy is to rely on the workflow autoclean sp timer job, after first running some code to set the AutoCleanupDays property of the SPWorkflowAssociation. I'm hoping that once I have run this on all the document libraries in my site where workflows have been run I will then be able to delete the Workflow History list using the Sharepoint Web UI "Delete this list" hyperlink.

When I do this at them moment I get an error as below:

 

Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))   at Microsoft.SharePoint.Library.SPRequestInternalClass.DeleteList(String bstrUrl, String bstrListName, UInt32 dwDeleteOp, Guid& pgDeleteTransactionId)
   at Microsoft.SharePoint.Library.SPRequest.DeleteList(String bstrUrl, String bstrListName, UInt32 dwDeleteOp, Guid& pgDeleteTransactionId)

Workflow History list - Huge number of entries.

  

Hi there,

Does anyone know if there is an issue with having a large number of entries in the workflow history list. I've got 2 sites that have only been in existence for 9months and the workflow history lists are already at 14000 entries?

Is this list size an issue?

Would growing at this rate cause an issue in the future?

Is there anything we could do about it? settings, delete routines..

Any ideas/suggestions gratefully received!

Cheers


Spooter

Information Management Policy & Exempt from Policy flag

  
 

Hi all,

 

does anyone know why the "Information Management Policy" in MOSS sets a 'yes' flag (in the 'exempt from policy' column) on the document library automatically when the specific document expires? 

 

And more importantly is there a way of getting around this?

 

What I am trying to achieve is a periodic document review schedule without having to create custom workflows in Visual Studio, and preferably sticking with the out of the box approval workflow to ease the rollout of team sites from a site template.

 

I thought this could be accomplished by using the Information Management Policy on the DL, but I guess not if after the first review date arrives the document is then exempt from any following dates.

 

Cheers,

Pete.

 


Defining information management policy on a library not working

  

I've created a WF in SPD that generates a task to copy an expired item to a Records Center. The WF works properly.  I then defined an IMP on the library to fire off the WF when the expiration date is reached. But nothing happens. The IMP never fires the WF. Any ideas?

TIA!


Chris G.

Information Management Policy Settings link not display

  

I am trying to enable Information Management in Sharepoint  server 2010 but when i go to the Library or List Settings page there is no link to Information Management Policy Settings on the page.

I've been searching for an hour and can find no information to tell me how to enable this option.  Any hints would be appreciated.

 


Attach Workflow to Task List, don't get option to manually start workflow via dropdown on task item

  
Hi,

 

I am running WSS 3.0 with other workflows which are functioning correctly.  I created a new workflow in Visual Studio 2008 and was able to successfully run it in my dev environment.  I attached the workflow to a task list in my dev environment and was able to manually start the workflow by using the drop down workflow option and using the menus to manually start it.  I installed this workflow in our production environment and attached it to the task list (which had a SPD workflow attached to it which stopped working about a month ago).  I made sure that the option to manually start the workflow was checked.  When I tried to manually start the workflow, (hover mouse over title, drop down) there isn’t a workflow option.  The workflow also will not start automatically when a task is changed.

 

I attached this same workflow to a different task list in production and get the option to start it.

 

I have tried creating a small workflow in SPD 2007 and attaching it to the task list.  It shows that it is attached, when I look at the workflows that are attached to the task list, but I still don’t get the option to manually start it.

 

I have checked my security and I have fu

Trying to send email using Sharepoint Designer 2007 workflow and email enabled list

  

I have a a list that recieves email. I have few fields that shows me the originator: "E-Mail From" and "E-Mail Sender".

I am trying to create a workflow that will generate an auto reply to the originator but the SPD fails to recognize the email address in these two fields. It's either truncating part of it or uses the html ( href=mailto:Demo@DemoSomething.com) in the To field.

Thank you,
Tzach.

 


Workflow field not being added to list or views when adding a workflow

  

This problem just started happening in my entire site collection.  Anytime I associate a workflow to any list or doc lib the Workflow column that shows the status and links to the history is not beind added to the list or any views and is nowhere to be found.   Here's exactly what I'm doing:

1.  Go the List settings -> workflow settings -> add a workflow (for this example the OOB approval workflow)

2.  After adding I go to the List, the workflow column doesn't exist.

3.  I go to "modify view", and the workflow column is not listed in the available columns.

Any help is greatly appreciated.


Workflow Task And Relevant List Item

  

Hello there...

1. What is the name of  the field thats connect between the task item and  the list name or guid and the list item id or guid

2. SPD: how can when starting the workflow how can i ensure that the initial form variables will be saved at the workflow task list

Many Thanks

ZahiS

 


Assigning users when creating a list item in a workflow

  

I'm using a workflow to assign tasks to users.  When I try to assign the task to a group (set in the workflow designer), the workflow gives me an error.  When I change the assign to property to a single user, the workflow works perfectly.  How do I get the workflow to assign the task to the group?  Or if that's not possible, can I get it to assign it to more than one user?

Kenn


How to get information about Sharepoint Running Workflow in Visual Studio 2008

  
Can any one tell me about. How i can get information about sharepoint running workflow in visual studio 2008.

Workflow doesn't work anymore after renaming list

  
Hi All, I have created a list with the name "helpdesk test". After testing this list i renamed the list to "helpdesk". I did the rename by the list settings.  To this list i attached some workflows, with Sharepoint designer,  that have to start when a new item is created. All worked fine but after the rename the workflows don't work anymore. When i start the workflows manually from the list all works fine. Is there a way to rename a list and let the workflows work as before? Thanks in advance. Laurens.      

Updating a List item field value in a SPD Workflow is setting Date fields to null

  
Hello everybody,I faced a very weird behavior while creating a workflow in SPD against a Document Library.Here is the case:1- Create a document library in sharepoint site.2- Add a custom column of type DATE.3- Upload any document to the library4- Edit the item metadata and set the custom date field to any date you want.5- Now using sharepoint designer, create a very simple Workflow with only one action that updates the current item "Title" field to any value. (Note: In my case I set the workflow to start manually and not automatically)6- Save the workflow and then start it on the uploaded item.7- Now check the value of the date column after the workflow is finished.8- You will see that the Date field is Empty... (very weird)Notes:   1-This behavior will not appear on a standard list. it is only appearing in a Document library.  2- I am using WSS 3.0 SP2 + MOSS 2007 SP2. Also SharePoint designer 2007 SP2Did anyone face this situation and does it have a fix, or am I doing something wrong here... Please help.Regards,Maheed
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend