Hello,
Scenario is that I want to generate a document template from code, to save it in SharePoint. I am using predefined "SetWordTemplate" action. I tried first to use it directly via OrganizationRequest like described here: https://crmtipoftheday.com/608/generate-documents-in-code/ , but while testing, I discover that it is not synchronous, I was not able to reach the created note right after the execution every time.
However, it seems to be working with synchronous workflow which I start from code with ExecuteWorkflowRequest. I reach the note every time after that request. I tested in a loop, executed request 10 times, deleting note every time right after the request.
I would like to confirm if the behavior will be consistent in all environments, also when system is under a pressure.
Thanks in advance
*This post is locked for comments