I've an SharePoint designer WorkFlow with two simple actions:
wait for field change in current item (wait for the aproval status was approved)
update item list(set a value to a field in the current item)
how immediate is the execution of an workflow like this by the WF Runtime engine?, how it works? would be possible that WF runtime engine take time to execute this tasks, how much is waranteed acording the WF architecture?
The Previous question becouse this solution is composed by an smart document and a workflow:
-A workflow that have to copy the aproval status to a field when this was aproved.
-The document have to detect the change on the field value(seted by the workflow) when the document is closed by the user(this action could be executed just after the user approve).
In conclusion the document depends from the workflow execution to detect the change, if the workflow were not executed "immediately" document actions would not be executed when the document were closed. by the above I need to know how reliable is this workaround
and make a choice, this workaround or an event handler controling the itemupdating event(synchronous event) to do the tasks made by the workflow. Suggestions are welcome!
PD and Background:
The smart document(with managed code) is the template associated to the content type in a document library.
View Complete Post