Basic workflow that grabs a value from a DB, and places that value in a token. The workflow then attempts to route the starting entry to another folder (creating the path along the way).
If I use the token in my path creation the workflow fails with the error "Invalid object Name"
If I use that token to fill in a field first, then use that field in my path creation it is fine. I can hide the field and work this way but it seems like an unnecessary step.
here is the log info:
Timestamp: 2014-02-18 16:02:16.284
Local Time: 2/18/2014 11:02:16 AM
Category: Activity
Machine: SHIPLEY-LF
Severity: Error
Application Domain: Laserfiche.Workflow.Service.exe
Process Id: 2056
Process Name: C:\Program Files (x86)\Laserfiche\Laserfiche Workflow 9\Laserfiche.Workflow.Service.exe
Win32 Thread Id: 3880 -
Thread Name:
Message: <Exception handlingInstanceId="76639d55-40c4-4bd7-88b2-3fb85ede2f05">
<Description>An exception of type 'System.InvalidOperationException' occurred and was caught.</Description>
<DateTime>2014-02-18 11:02:16Z</DateTime>
<ExceptionType>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>Invalid object name.</Message>
<Source>Laserfiche.RepositoryAccess</Source>
<HelpLink />
<Property name="InstanceId">9d0581ab-94a5-4447-b23a-d2085aff7f11</Property>
<Property name="ActivityName">MoveDriverPaperworktoproperfolderMoveEntry</Property>
<Property name="TargetSite">System.String MakeInternal(System.String, System.String, Boolean)</Property>
<Property name="HResult">-2146233079</Property>
<StackTrace> at Laserfiche.RepositoryAccess.EntryPath.MakeInternal(String folderPath, String relPath, Boolean relPathIsEntryName)
at Laserfiche.RepositoryAccess.FolderInfo.Create(FolderInfo parent, String name, EntryNameOption options)
at Laserfiche.Connection.Lfso.RepositoryAccess91.LFFolderRA.Create(String name, ILFFolder parentFolder, Boolean autoRename)
at Laserfiche.Connection.Lfso.LFEntryHelper.CreateFolder(LFDatabase database, ILFFolder parentFolder, String name, Boolean autoRename, Boolean autoUnlock, LFVolume defaultVolume)
at Laserfiche.Workflow.Activities.EntryPathExtensions.FindOrCreate(EntryPath destination, LFDatabase database, Boolean autoRename, List`1 warnings, Boolean& createdNew)
at Laserfiche.Workflow.Activities.MoveEntry.MoveEntryTaskModule.MoveEntry(ILFEntry entry, EntryPath destination, MoveEntryAction action, MoveEntryOptionFlags moveOptionFlags)
at Laserfiche.Workflow.Activities.MoveEntry.MoveEntryTaskModule.OnExecute(List`1 results)
at Laserfiche.Workflow.Activities.LaserficheTaskModuleImpl`1.OnExecute(T options, List`1 results)
at Laserfiche.Workflow.Activities.LaserficheTaskModuleBase`1.OnExecute(ILaserficheTaskOptions options, List`1 results)
at Laserfiche.Workflow.Activities.LaserficheTaskModuleBase.Execute(ILaserficheTaskOptions options)
at Laserfiche.Workflow.Runtime.LaserficheTaskExecutorBase.Execute(Object options, SubsystemContextBase statusContext)</StackTrace>
<additionalInfo>
<info name="MachineName" value="SHIPLEY-LF" />
<info name="TimeStamp" value="2/18/2014 4:02:16 PM" />
<info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<info name="AppDomainName" value="Laserfiche.Workflow.Service.exe" />
<info name="ThreadIdentity" value="" />
<info name="WindowsIdentity" value="NT AUTHORITY\SYSTEM" />
</additionalInfo>
</Exception>
----------------------------------------