I have a document library which has several required fields. Due to that setting, after document upload, the item is automatically checked out.
I want to start the workflow when all mandatory fields are filled and automatically checked in the item.
I have created a variable which read one of the mandatory field and then validate if the variable is empty or not. I only use 1 variable because if you edit the item properties, all mandatory fields must be filled otherwise you cannot save the item, so 1 field to check supposed to be enough.
The problem is, after I validate the variable, I drag the "Check In Item" action, now the workflow is stuck on started but the document item status is still checked out.
Does anyone have any idea or have had the experience like this?
The goal is to start the workflow when the item is checked in.
Thanks in advance,