Skip to main content

Hello! 

I’m trying to create our pass at using the Employee Onboarding module within Freshservice. I’d like to create a Microsoft Exchange calendar entry for the event “Date of Joining”, this is captured in a date field on the onboarding form. I want this to serve as a notification on a shared calendar as an All Day Event on the shared calendar for the relevant stakeholdrrs.

I am attempting to create this in the workflow automator however, I’ve set the attribute on the Microsoft Exchange Orchestration Node to is_all_day to true; however when testing I get the error “Your request can't be completed. The duration of an event marked as All day must be at least 24 hours.”

 

Does anyone have some guidance on how I can achieve this, or have any potential workarounds? 

 

 

Hi there,
Please note that the difference between the start date and end date that you specify in the orchestration call should be at least 24 hrs if you decide to set is_all_day as true. 

 

The start_date and end_date field should be a single point of time in a combined date and time representation of RFC3399 format ({date}T{time}; for example, 2017-08-29T04:00:00).
The following liquid template language is used to build a RFC3399 complaint dateTime placeholder https://shopify.github.io/liquid/filters/first.
Sample placeholder: {{ change.planned_start_date | date: "%Y-%m-%dT%H:%M:%S" }}
The timezone is required to explicitly define a specific zone as by default it is in UTC.

 

You can try testing with time parameters where the duration is at least 24 hrs. You can also use an expression builder to add a day to the start date and use that in the end date.

For instance, say the employee date of joining is 2017-08-29, then the start date can be given as 2017-08-29T00:00:00 and the the end date can be calculated by adding a day to the date in an expression builder so that it becomes 2017-08-30T00:00:00. This way an all day event will be added for 2017-08-29.


Reply