Get Event From File_ New
  • 31 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Get Event From File_ New

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version7.1.0
LocationIntegration > 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

PropertyDescriptionData Type
Ics File DataDesired .ics file to retrieve Calendar event information fromFileData

Outputs

PropertyDescriptionData Type
OutputList of Calendar Event information in iCalendar formatDecisionsCalendarEvent

Example Inputs and Outputs

Ics File DataOutput
iCalendar.icsList of event data
NullEXCEPTION MESSAGE
EmptyEXCEPTION 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?