I've created a workflow, that handles vacation requests. After requesting via a SharePoint list it send an email to a supervisor who should approve or reject and once it is approved the workflow should create a calendar event to visualize the vacation. So far so good.
Problem occurs when it comes to the creation of the calendar event. Vacation for one day is no problem. But when the user request more than one day the last vacation day is still missing. For instance: If i am requesting time off from 19.01.2017 to 20.01.2017 only for the 19.01.2017 an event is created.
Forcing the workflow to create an All-Day event makes the problem even more suspicious. Taking the example above he will create vacation from the 18.01.2017-19.01.2017.
How can i make sure the workflow creates the right calendar events?