Send Folder And Tree Change Event With Params Step
  • 24 Mar 2023
  • 1 Minute to read
  • Dark
    Light

Send Folder And Tree Change Event With Params Step

  • Dark
    Light

Article Summary

Step Details
Introduced in Version5.0.0
Modified in Version5.0.0
LocationDashboard Management > Events

The Send Folder And Tree Change Event With Params step refreshes the entire Folder Tree, including the Folder specified in the Folder ID input, giving the option to expand the Folder in the folder tree. However, if the Folder is nested, the Parent Folder will not expand only the Folder specified in the Folder ID input expands.





Properties

Inputs

PropertyDescriptionData Type
Do Not ExpandDetermines whether the folders in the folder tree of the specified folder Id will expand when the step is executed. This option requires configuration to avoid an exception being thrown.Boolean
Folder IDThe Id of the FolderString


Common Errors

[BusinessRule] Parameter 'doNotExpand' of 'SendFolderAndTreeChangeEventWithParams' can not be null

If the Do Not Expand option is null or not configured, the step will cause an error.

To correct this, map the Do Not Expand to Constant.

Exception Message:

Exception Stack Trace: DecisionsFramework.BusinessRuleException: [BusinessRule] Parameter 'doNotExpand' of 'SendFolderAndTreeChangeEventWithParams' 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)



Was this article helpful?