Get Next Time By Schedule
  • 16 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Get Next Time By Schedule

  • Dark
    Light

Article Summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.12.0
LocationDesigner Entities > Scheduling

The Get Next Time By Schedule is a scheduling step used to evaluate the next scheduled time by checking the date Time in Question Input against a Schedule. This step sources which Schedule to test the date against the specified Folder Id. 



Properties

Inputs

PropertyDescriptionData Type
Date Time In QuestionThe DateTime to evaluate againstDateTime
Folder IdThe Id of the desired FolderFolder Id

Outputs

PropertyDescriptionData Type
OutputNext Scheduled TimeDateTime

Example Inputs and Outputs

Date Time In QuestionFolder IdOutput
1/16/2023 10:12:28
08da6f2e-eafc-755c-1f24-2223a4075e85
1/16/2023 10:12:28
Null08da6f2e-eafc-755c-1f24-2223a4075e85
EXCEPTION MESSAGE
1/16/2023 10:12:28
EmptyEXCEPTION MESSAGE


Common Errors

Value cannot be null

If either input value is empty or null, an error will occur.

To correct this, ensure both inputs have a value entered or mapped correctly. 

Exception Message:

Exception Stack Trace: DecisionsFramework.BusinessRuleException: [BusinessRule] Parameter 'dateTimeInQuestion' of 'GetNextTimeBySchedule' 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?

What's Next