Create String Builder File Based
  • 15 Dec 2022
  • 1 Minute to read
  • Dark
    Light

Create String Builder File Based

  • Dark
    Light

Article Summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.0.0
LocationData > Text > String Builder

The Create String Builder File Based step created a String Builder text file in the specified directory.



Properties

Inputs

PropertyDescriptionData Type
Temp Directory NameDirectory path for the String Builder fileString

Outputs

PropertyDescriptionData Type
OutputText fileStringBuilderData

Example Inputs and Outputs

InputOutput
c:\tempc:\temp\98c440c4-8665-4e76-87c1-fe8e2d73780b.txt
NullEXCEPTION MESSAGE
C:\Users\Folder1C\Users\Folder1\4ef9a47b-86d6-4ad9-829d-637a35ac6ccb.txt
" " EXCEPTION MESSAGE




Common Errors

Path cannot be the empty string or all whitespace

If the input does not contain a value, an error will occur.

To correct this, ensure that the input value is entered/mapped correctly.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Create String Builder File Based 1[CreateStringBuilderFileBased] in flow [Flow 2]: Exception invoking method CreateStringBuilderFileBased on class StringBuilderSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method CreateStringBuilderFileBased on class StringBuilderSteps
 ---> System.ArgumentException: Path cannot be the empty string or all whitespace. (Parameter 'path'
 at System.IO.Directory.CreateDirectory(String path
 at DecisionsFramework.Design.Flow.CoreSteps.StandardSteps.StringBuilderSteps.CreateStringBuilderFileBased(String tempDirectoryName)
   --- 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 ---


Value cannot be null

If the input is null, an error will occur.

To correct this, ensure that the input value is entered/mapped correctly.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Create String Builder File Based 1[CreateStringBuilderFileBased] in flow [Flow 2]: Exception invoking method CreateStringBuilderFileBased on class StringBuilderSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method CreateStringBuilderFileBased on class StringBuilderSteps
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'path'
 at System.IO.Directory.CreateDirectory(String path
 at DecisionsFramework.Design.Flow.CoreSteps.StandardSteps.StringBuilderSteps.CreateStringBuilderFileBased(String tempDirectoryName)
   --- 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?