Get Event From File_ New
- 31 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Get Event From File_ New
- Updated on 31 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 7.1.0 |
Location | Integration > ICAL > ICAL File |
The Get Event From File_ New step takes a .ics file and outputs the Calendar Event data information.
Prerequisites
This step requires the iCal module to be installed before it will be available in the toolbox.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Ics File Data | Desired .ics file to retrieve Calendar event information from | FileData |
Outputs
Property | Description | Data Type |
---|---|---|
Output | List of Calendar Event information in iCalendar format | DecisionsCalendarEvent |
Example Inputs and Outputs
Ics File Data | Output |
---|---|
iCalendar.ics | List of event data |
Null | EXCEPTION MESSAGE |
Empty | EXCEPTION MESSAGE |
Common Errors
Object reference not set to an instance of an object.
If the Ics File is empty or null, the step will cause an error.
To correct this, upload or map a .ics file to the input field.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get Event From File_ New 1[GetEventFromFile_New] in flow [Flow 1]: Exception invoking method GetEventFromFile_New on class ICalSteps
---> DecisionsFramework.LoggedException: Exception invoking method GetEventFromFile_New on class ICalSteps
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Decisions.ICal.ICalSteps.GetEventFromFile_New(FileData icsFileData)
--- End of inner exception stack trace --- 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)
--- End of inner exception stack trace ---
Could not parse line: 'dtstart,dtend,dtstamp,organizer,uid,attendee,created,description,last-modified,location,sequence,status,summary,transp'
If the file uploaded is not an ics file, the step will cause an error.
To correct this, only upload or map a file with the .ics extension.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get Event From File_ New 1[GetEventFromFile_New] in flow [Flow 1]: Exception invoking method GetEventFromFile_New on class ICalSteps
---> DecisionsFramework.LoggedException: Exception invoking method GetEventFromFile_New on class ICalSteps
---> System.Runtime.Serialization.SerializationException: Could not parse line: 'dtstart,dtend,dtstamp,organizer,uid,attendee,created,description,last-modified,location,sequence,status,summary,transp' at Ical.Net.Serialization.SimpleDeserializer.ParseContentLine(SerializationContext context, String input
at Ical.Net.Serialization.SimpleDeserializer.Deserialize(TextReader reader)+MoveNext(
at System.Linq.Enumerable.OfTypeIterator[TResult](IEnumerable source)+MoveNext(
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source
at Ical.Net.Calendar.Load[T](TextReader tr
at Ical.Net.Calendar.Load[T](Stream s, Encoding e
at Decisions.ICal.ICalSteps.GetEventFromFile_New(FileData icsFileData)
--- End of inner exception stack trace --- 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)
--- End of inner exception stack trace ---
Was this article helpful?