Workflow for auto checkin

I am using office 365 SharePoint online. I want to create a workflow that checks the item in and run this with the item changed event. I can't seem to see how to do this in designer. Do I need to create a VS solution? i think my workflow needs to check to see if the item isn't already checked in before it does it's auto checkin. Can someone point me in the right direction?
LVL 9
BobHavertyComhAsked:
Who is Participating?
 
Jamie McAllister MVPConnect With a Mentor SharePoint ConsultantCommented:
Would this not work?

Auto Checkin Step
0
 
BobHavertyComhAuthor Commented:
We would want the checkin if the file itself is modified. Metadata cannot be counted on to be modified, only created by, modified on etc....will automatically be modified. So what event do i hook to tell my workflow the file of the item in the doc lib has changed? Also, if by some strange chance the file is already checked in, what would the workflow checkin do?
0
 
Jamie McAllister MVPConnect With a Mentor SharePoint ConsultantCommented:
The WF wont do anything if it's checked in, just terminate.

When you add the WF to the library check the box "Start this workflow when an item is changed".
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
BobHavertyComhAuthor Commented:
So I don't even need the conditional? It would be a one line workflow to simply check it in if it has been changed?
0
 
Jamie McAllister MVPSharePoint ConsultantCommented:
The condition allows it to avoid items that are already checked in, so that's worthwhile.
0
 
BobHavertyComhAuthor Commented:
Thanks again Jaime
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.