internal static ScheduleWorkflowItemAction ScheduleByConsideringWhen(WorkflowItem workflowItem) { return(new ScheduleWorkflowItemAction(workflowItem, Custom(workflowItem.ScheduleDecisions().ToArray()))); }