cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Query list not returning items checked out to others

Jump to solution

The below workflow checks in items that are currently checked out in a particular document library.

However, it only works for items I have checked out but doesn’t recognize items checked out to other users.

Capture.PNGCapture2.PNG.

Labels: (1)
Tags (1)
0 Kudos
Reply
15 Replies
Highlighted
Automation Master
Automation Master

Re: Workflow not checking in items for all users?

Jump to solution

Hi,

is the query or the check in the problem? I mean does your query receive all checked out items or only the ones checked out by you?

I'd love to test this myself but my dev license has expired once again =\

Seems like your queries "<Eq>" filters for the current userID. Could work if you remove this filter.

Regards

Philipp

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Workflow not checking in items for all users?

Jump to solution

It's actually the query list. It only returns items checked out by me. I'll try removing the current userID filter and see if that works.

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: Workflow not checking in items for all users?

Jump to solution

If you provide the "<UserID />" it always filter for the ID of the user running the workflow, which in this case is yourself. But since you want to check in everything no matter who checked it out, this filter has to be removed.

Keep us informed on how it's working.

Regards

Philipp

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Workflow not checking in items for all users?

Jump to solution

So, I changed the filter in the query list to return all where checked out is not null. Nothing came back but there are items currently checked out in this library.

Capture.PNGCapture2.PNGCapture3.PNG

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Workflow not checking in items for all users?

Jump to solution

Removing the UserID filter did not resolve. I'm still unable to query items checked out to others.

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: Query list not returning items checked out to others

Jump to solution

That's odd, the query looks good. I would need to test this myself to see what's not working there. Maybe tomorrow I will find some time.

I let you know if i find something.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Query list not returning items checked out to others

Jump to solution

crossc,

There are two behaviors about the Checkin process/action that I'm aware of:

  1. The "Override Check Out" permission is required to check-in another's documents.
  2. Within a workflow, the Check-In action tends to only function on items that have been Checked-out by the corresponding workflow action.

Hope this helps,

Gerard

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Query list not returning items checked out to others

Jump to solution

I have full control and can manually check in other's documents.

Using this same workflow, I was able to check in documents I manually uploaded to the library.

However, when attempting to check in all on another library I could see other's documents currently checked out.

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: Query list not returning items checked out to others

Jump to solution

I tried this on my dev machine and it worked without a problem. I used the same filter you did (Checked Out to != null) and received all items that were checked out, no matter if i checked them out myself or any other user.

I would recommend to create a test list on some dev site and test the same workflow there. Sorry, but can't help you any further.

Maybe someone else has an idea...

Regards

Philipp

0 Kudos
Reply