I am trying to set up a workflow that includes a task assignment to a director. The requirements are that the director simply be able to check out the document, review it, electronically sign it and then check it back in. I have tried to use the complete workflow task action (for testing I just set it to complete after 1 minute), but the workflow doesn't ever move past the task assignment step. Are there any special requirements to get this to work? The help on these actions is really not very helpful.
Solved! Go to Solution.
why do you want to complete task with a workflow action?
why don't you let the director to respond/confirm the task assigned?
can you post what task action you have used to assign the task and its configuration?
and configuration of complete task action?
yeah, I understand that, but he/she will anyway have to learn how to work with check-out/check-in. one additional confirmation shouldn't matter. explicit confirmation would be the most reliable. waiting for check in need not be reliable - once he/she forgets to check in, other time checks in mid-reviewed version, etc.
either way, it should be possible to complete task action within workflow. but get a picture what might be wrong with your setup post configurations I asked above.
They are already doing the check out check in process, that is a standard operating procedure for the department. I am trying to meet my customer's needs - not question their request. My basic question remains, how to use the complete workflow task.
without knowing sufficient details, just a very general hint.
you will need setup approval step similarly to following.
the key point is that within task action you save action ID, which you will then in turn reference in complete workflow task
Thanks for this option. I did try it as you have shown. I originally tried it with the FlexiTask, which did not have the Action ID. This solution did work, although it took longer than I had hoped to actually mark the task as complete so it disappeared from the "My Tasks" view in the Workflow Tasks library. Is there any way to speed that up, or is that not controllable?
what do you exactly mean with it takes longer time?
have you configured any delay in complete task action?
that's basically driven by sharepoint's timer job and its wake up frequency.
let's assume default 5min.
so, within up to 5min after document is checked out, wait for check out action should be notified and advance workflow to next action - complete task.
even if there is not any delay configured in the complete task action, it will take one another timer job cycle to complete task in the other branch.
so in worst case I would assume the task should be completed up to 10min (resp. 2 timer job cycles)
is that too much for you?
I will check on the SharePoint's timer job wake up frequency. If the director has several to review, then 10 minutes would be too long. I'll find out internally what the shortest possible timeframe is.
Thanks for your guidance.
I checked with our SharePoint administrator and he did know what you meant by SharePoint's timer job and wakeup frequency. My supervisor, who is our team's SharePoint expert, tried to research and was not able to find anything referencing these terms. Can you provide any additional information on the timer job and wakeup frequency? It is taking well over 10 minutes fro these tasks to complete, while I have the wait on the settings for the Complete Task action set to one minute.