Hi Guys
Where can I get an example of how to initiate workflows from EWS?
Thanks
Sorry for the delay in responding. There's no example available at the moment, but the procedure is:
- Call GetProcessDefinition for the workflow map you want to initiate.- If desired, manipulate the ApplicationData for the ProcessDefinition (attributes will be particularly relevant here).- Pass the ProcessDefinition object to CreateProcess with the name, any attachment IDs (of items that already exist in Livelink), and any applicable role mappings.- CreateProcess will start a workflow and return a ProcessInstance object.
Hope this helps,
Scott