Hi Everyone,
I have a problem in updating an appointment in Outlook using Web Request Action. The scenario is this I have a workflow that will create an appointment to Outlook when an event is created in a sharepoint calendar and this workflow is just working fine. The next workflow is when an event is modified in the sharepoint calendar the changes will reflect on the Outlook calendar. Thanks to Caroline Jung answer to https://community.nintex.com/thread/1783. I successfully created a workflow that will update the Outlook calendar when the sharepoint calendar is modified. But here is the problem. In every event the user will also input several attendees and I can't update their Outlook calendar and I don't know why I cant update it my best guess is that I don't have their username or password that the web request action is requesting for. I also mark it as a red text on the codes below and the only information I have to the attendees is their email address
- URL : https://your-exchange-server/ews/exchange.asmx
- Web Method : POST
- Content type : text/xml; charset=utf-8
- <?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
<soap:Body>
<FindItem Traversal="Shallow" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
<ItemShape>
<t:BaseShape>IdOnly</t:BaseShape>
<t:AdditionalProperties>
<t:FieldURI FieldURI="calendar:Start"/>
<t:FieldURI FieldURI="calendar:End"/>
<t:FieldURI FieldURI="item:Subject"/>
</t:AdditionalProperties>
</ItemShape>
<Restriction>
<t:Contains ContainmentMode="Substring" ContainmentComparison="IgnoreCase" >
<t:FieldURI FieldURI="item:Subject" />
<t:Constant Value="Subject to find" />
</t:Contains>
</Restriction>
<ParentFolderIds>
<t:DistinguishedFolderId Id="calendar">
<t:Mailbox>
<t:EmailAddress>test@mail.com</t:EmailAddress>
</t:Mailbox>
</t:DistinguishedFolderId>
</ParentFolderIds>
</FindItem>
</soap:Body>
</soap:Envelope>
Example Scenario:
Rogelio created an event and input two attendees Mark and Jeff. The appointment should be created to the Outlook Calendar of Rogelio, Mark and Jeff. If Rogelio or any other user updates the Appointment. The Update should also reflect to their respective calendars.
Note: I only have the email address of Mark and Jeff so I cant input their login information to the Web Request action.
I also attached my Workflow for these. Any suggestions is welcomed. Thanks
Cheers,
Rogelio