Hi DerekS , Hi Hilary ,
Thanks for your time reading my questions and trying to
help.
I found the suggestion of DerekS is a very good idea
that I explain the whole scenario and the reason why I need to apply auto
checkin/out.
The project is form library on SharePoint 2013. Only one
form [ Browser InfoPath Form not filler]
will be created by the creator to start ECD” engineering change document “procedure.
The form containing some parts where the creator will
explain the suggested change for product, process, safety …etc.
The creator, before submitting the document, he will
choose certain departments to be included in the document by clicking on few
check boxes as he wants, each checkbox related to a section that will appear
once he clicks the checkbox.
The department section includes some information, and “the
most important” person picker field where the creator will write the
display name for the person he wants to be notified in this department.
Then the creator will submit the document {auto submit
will name the document using now() function and other fields concatenated together}.
Now, the complications will start. Once the document
submitted there will be a workflow upon creation that will check for only
required departments to assign tasks to the person in this department and wait “Parallel
waiting for all required departments “.
While waiting, anyone can open the form to click for
approval or rejection and add comments and some technical drawing if any and
sign. All these actions considered as modification for the form and if more
that one open the form in same moment “which is very possible “he will not be
able to save the document and he will lose his time may be one hour in writing
financial r technical reviews or it could be live meeting to do so.
As you know, the advice to check out the documents before
editing it is not well followed for all users and my project will be used by top
managing persons I can’t force them to do so, and most of them are aged persons
they will probably forget to checkout.
I did optimize successfully the approval or rejection to
be inly one button inside the form and this will be applied to the task it self
in the task list. So, no need to go to the task after modifying the form to
express approval or rejection. they are both linked through a workflow to
override one by the other or vice versa.
MY BIG CHALENEGE NOW IS: how to automatically set
the check out check in action to be executed in the moment of opening the form
to be checkout to the person who opened the form and once he finishes and save
it the document will be checked back in.
I successfully managed how to show warning in the moment of opening the
form if it is checked out but the action itself I cannot automate it yet.
I tried to follow the steps explained in Hilary stupa
blog but when I open the form nothing happens “no check out happens “only one
error saying the “error while opening the form “and ok button when I click this
ok the form open and everything is fine but not checked out.
If you have any idea why the steps in the blog doesn’t work
for me or if you know a book that include case similar scenarios in details “I mean
auto check-in checkout “, Please let me know.
Thanks for your time and help