whats the number of times the letter o appears in:
q: sharepoint designer workflow i need to do the following
create a site workflow that will:


*

*check the folder creation date in a document library

*if the folder is older than 30 days, move the folder somewhere.


questions:


*

*can i make a workflow that every day checks for the creation dates of all folders and then do what is needed?

*is it possible to iterate through all folders within sp designer every day and do something?


a: no looping in spd. you can create a reuseable workflow and associate it to a custom content type that inherits from the folder content type.  there is an a pause for duration action that you can set for 30 days.  then you can have your logic do what you want.

a: i wouldnt bother about iterating through all folders. how about attaching to each new folder a workflow that will pause for 30 days then move the folder?

a: correct me if im wrong, but you cannot move a folder with its containing documents without moving those same documents first.
furthermore since spd does not let you loop, you could not accomplish this task using it.
in order to accomplish this with the assumption that there may be documents within those folders, you could create a visual studio coded workflow to attach to your list.
for this purposes of this explanation i will assume you will not have nested folders... 


*

*pause for 30 days

*add an if block to check if the current item is a folder

*create a folder with the same name as current item in the target document library

*loop through all items contained within this folder

*

*copy document to target document library folder

*delete document in current folder


*delete current item


if you want to go this route and need code samples, let me know and i would be happy to supply.

user
The total number of "o"s in that passage is one hundred and thirty-nine.
assistant