Hi there!
OK, so I have tried about everything now and I cannot figure out what I am doing wrong here. I know its telling me that it doesnt have a value.
The workflow is doing some extractions and screendumps from different websites to save later on in our archive. It furthermore create a word document where it replace some text and save that too.
It get all values from an application portal and different paths in windows where we have folders for different templates, documentation etc. I have triple checked that its the right paths, templates etc. as that would be the obvious problem as it has worked before.
It finds the right template and path to start creating the document in word. I use the assign activity to tell it that “FilStiDokument” is the path(as string) it has to use. Then I invoke the workflow that create the document. It then fails at the Word Application Scope in the invoked workflow.
I’ve checked that the arguments is correct and that I have imported the arguments and given it the correct value.
The Word Application Scope works in other workflows, so the problem must be in that specific workflow where it cant find the value.
It seems so simple and i have probably just stared at it too much now to see the solution.
I hope some of you guys can guide me a little further to solve this problem.
Best regards
Martin
I get his error message:
System.ArgumentNullException: Value cannot be null.
Parameter name: path
at System.IO.Path.GetFullPathInternal(String path)
at UiPath.Word.WordDocument…ctor(String documentPath, Boolean createNew)
at UiPath.Word.Activities.WordApplicationScope.Execute(NativeActivityContext context)
at System.Activities.NativeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)