Trying to create a PDF, but just started getting this odd error


#1

So this workflow was running just fine an hour ago, I have no idea what changed, but I am getting this error on the workflow page:

RequestorId: 2fe8eded-4692-e557-0000-000000000000. Details: System.Activities.Statements.WorkflowTerminatedException: The specified view is invalid. and I found this:
Getting items from https://mycompany.sharepoint.com/Emplo... based on


… and save to Variable: dictionary
which has a property called view, which contains the CAML Query, which looks like this:








Anything would be great here, as I am at a total loss.


#2

Hello,

Please pay attention that we have a few workflow actions to get items:
Get Items by Query
Get Items from View
Get Items by CAML Query

I suppose you use Get Items from View, but specified wrong view name.
Please ensure that the view exists in the list/lib
image
image


#3

I really have no idea what you are talking about?? I know how views work, what I am saying is that something is wrong with my workflow.


#4

Please ensure that you filled in correctly all parameter, if you unsure please post here (or email us to support mailbox) the screenshot of the workflow action


#5

Ok, here it is.


#6

Also, here is my CAML Query

Capture


#7

You are using Get Items from View workflow action, but instead of view name you pass invalid CAML query (this is why you see the error)
I suppose the action was added accidentally.

Remove the action Get Items from View and add Get Items by CAML Query.


#8

I did that, but now I am getting this error again:

Capture23

I mean, the entire thing was working just fine, until I changed my password on my laptop, then everything started flipping out.


#9

Please check out the following article:
Manage credentials for workflow actions on site level

To avoid the same situation we recommend to use a separate account to run the workflow.