Overview

Here’s a sample workflow to demonstrate the use of the Microsoft Exchange Online Orchestration app to automate the process of change event creation. 


This workflow will add the scheduled change event to the specified change calendar under Microsoft Exchange, upon change creation in Freshservice.



  1. Create the Event when a Change is created.

  2. You can then pull in the App Node which will have the following configurations:
                
    App Name: Azure AD - Orch

App Action: Get User Details by Username


  1. Use the Azure AD app node actions to get the Id of the user who is the organizer of the event.


  1. Next, pull in the App Node which will have the following configurations:
                
    App Name: MS Exchange - Orch

App Action: Create Calendar Event


Based on the planned start date and planned end date, an event will be created in MS Exchange using the app node. In the app node configuration select the MS Exchange app and “Create Calendar Event” action.  


Notes when Configuring Inputs:

To specify the start_date and end_date as placeholders, we have to use liquid templates.


Liquid templates are used in this use case to change the date-time format to an RFC 3339 compliant format i.e. 2021-02-01T09:00:00, this format is required during event creation for MS Exchange.


For example, placeholder for the start datetime of the event will be, 

{{ change.planned_start_date | date: "%Y-%m-%dT%H:%M:%S" }}



  1. Based on the status code of the event creation action, a success note with event details or failure note with the reason for failure will be added to the change.


Sample Use Case Execution