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.
Solved! Go to Solution.
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.
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.
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.
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.
There are two behaviors about the Checkin process/action that I'm aware of:
Hope this helps,
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.
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...