Skip to main content

Schedule Tools

Overview​

Schedules define recurring triggers that invoke a Logic Flow at a given frequency and interval, starting from a given date. Logic Assist supports searching, listing, reading, previewing, creating, and updating Schedules. Requires the Logic Composer product.

The get_schedule_preview_url tool takes a cacheEntryStrategy (a CacheEntryStrategy: Volatile, Ephemeral, or Constant) that controls how the previewed schedule value is cached.

ScheduleRunFrequency values:

ValueMeaning
MinuteRuns every n minutes
HourRuns every n hours
DayRuns every n days
WeekRuns every n weeks
MonthRuns every n months

(where n is the interval.)


search_schedules​

Searches Logic Fabric schedules by name.

ParameterTypeRequiredDescription
scheduleNamestring✓The name of the schedule to search for.

Returns: Matching Schedules including name, frequency, interval, start date, linked logic flow, title, description, and project.


list_schedules​

Lists Logic Fabric schedules.

ParameterTypeRequiredDescription
projectIdGUIDThe ID of the project to filter schedules by. Optional.
pageNumberintThe page number for pagination. If not provided, defaults to the first page. Optional.
pagingCookiestringThe paging cookie for pagination. This should be provided if pageNumber is provided and there are more records to retrieve. Optional.

Returns: A paginated list of Schedules including name, frequency, interval, start date, next run date, last run date, linked logic flow, title, description, and project.

See Pagination for details on iterating through large result sets.


get_schedule_details_by_id​

Gets the details for a Logic Fabric schedule by schedule ID.

ParameterTypeRequiredDescription
scheduleIdGUID✓The ID of the schedule.

Returns: Full Schedule details including name, frequency, interval, start date, next run date, last run date, linked logic flow, title, description, and project.


get_schedule_preview_url​

Get a preview URL for a Logic Fabric schedule.

ParameterTypeRequiredDescription
scheduleNamestring✓The name of the schedule.
projectIdGUID✓The ID of the project for the schedule.
valuestring✓The value for the schedule.
cacheEntryStrategyCacheEntryStrategy✓The cache entry strategy for the schedule.
timeToLiveint✓The time to live for the schedule cache entry in minutes.
titlestringThe title for the schedule. Optional.
descriptionstringThe description for the schedule. Optional.

Returns: A preview URL for the schedule record.


create_schedule​

Creates a new Logic Fabric schedule and returns the schedule id.

ParameterTypeRequiredDescription
scheduleNamestring✓The name of the schedule to create.
projectNamestring✓The name of the project to create the schedule in.
logicFlowIdGUID✓The ID of the logic flow associated with the schedule.
frequencyScheduleRunFrequency✓The frequency for the schedule.
intervalint✓The interval for the schedule.
startDateDateTimeThe start date for the schedule. Optional.
titlestringThe title for the schedule. Optional.
descriptionstringThe description for the schedule. Optional.

Returns: The GUID of the newly created Schedule and its URL.

Restriction: Cannot be called on projects associated with a managed solution. See Managed Solution Protection.


update_schedule_value​

Updates Logic Fabric schedule metadata.

ParameterTypeRequiredDescription
scheduleNamestring✓The name of the schedule to update.
projectNamestring✓The name of the project for the schedule to update.
frequencyScheduleRunFrequency✓The frequency for the schedule.
intervalint✓The interval for the schedule.
startDateDateTimeThe start date for the schedule. Optional.

Returns: Confirmation that the schedule was updated.

Restriction: Cannot be called on projects associated with a managed solution. See Managed Solution Protection.

Best practice: Always read the current schedule first (via get_schedule_details_by_id or search_schedules) before updating, to avoid unintentionally overwriting the frequency, interval, or start date.