Copy in variable subfolder

May 28, 2008 at 5:30 PM

Hello, I try to create a workflow with the activities "Copy List Item Extended Activity" but I have a little problem ...

First, If I want to copy in a folder and the folder doesn't exist, I have a error ... some people know a solution ?

Second, In my first document library, the document have a date (just 2006 or 2007 per exemple) ... I want to take this date to move document in the subfolder 2006 or 2007 per exemple ...

I Try this : 
[NAME OF SHAREPOINT]/GED/[%Indexation : DATE%] but the Workflow don't change [%Indexation : DATE%] by a number, and I Have this error !

System.InvalidOperationException: List at [NAME OF SHAREPOINT]/GED/[%Indexation : DATE%] does not exist!

Some Idea ?

Faro

 

Feb 24, 2009 at 3:37 AM
In a previous step of the workflow, use the 'Build Dynamic String' action and store the results in a variable. THEN in the 'Copy item in list to list at' select 'Workflow Data' as the source and select the variable you stored your dynamic string in.


Joe