--- title: "Cancel Event" slug: "cancel-event" tags: ["cancel", "event", "calendar"] updated: 2023-01-31T15:33:02Z published: 2023-01-31T15:33:02Z canonical: "documentation.decisions.com/cancel-event" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Cancel Event | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 7.1.0 | | **Location** | Integration > ICAL > ICAL File | The **Cancel Event** step allows users to create an iCal file to cancel an event that was created. The Appointment ID, Duration, and Start fields must match the same fields of the created event. --- ### Prerequisites This step requires the iCal module to be [installed](https://documentation.decisions.com/docs/installing-modules-decisions) before it will be available in the toolbox. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Appointment Id | Allows a user to specify the Appointment Id | String | | Description | Allows the user to describe the created event or reason for cancellation | String | | Duration | Specifies how long the event will be | TimeSpan | | Is All Day | Determines if the event will be the entire specified day | Boolean | | Location | Specifies the location of the event | String | | Start | Specifies the date the event will start | DateTime | | Summary | Allows the user to give a summary of the event | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Output | Calendar ics file | FileData | --- ## Example Inputs and Outputs | Appointment Id | Location | Start | Output | | --- | --- | --- | --- | | 372747273 | Room 112 | 1/22/2021 | iCalendar.ics | | Null | Conference A | 1/22/2024 12:30:00 | iCalendar.ics | | 32443 | Null | Null | EXCEPTION MESSAGE | | 3490998 | Null | Empty | EXCEPTION MESSAGE | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1674673952641.png) --- ## Common Errors ### Parameter 'start' of 'CancelEvent' can not be null If the Start input field is null or empty, the step will cause an error. To correct this, ensure that the field has a specified date and time that matches the Start field of the created event. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.BusinessRuleException: [BusinessRule] Parameter 'start' of 'CancelEvent' can not be null at DecisionsFramework.Design.Flow.CoreSteps.InvokeMethodUtility.ThrowErrorIfNullIsNotAllowed(MethodInfo methodInfo, Object[] parameterValues, String errorMessage at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) ``` ## Related - [Create Event](/create-event.md) - [Get Week of Year by Calendar Type](/get-week-of-year-by-calendar-type.md)