Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Function Information

Panel
panelIconIdatlassian-warning
panelIcon:warning:
bgColor#FFF0B3
  • All functions must be used with parenthesis.

schedule.setEnable

Enable / Disable the listed Schedule

Function

schedule.setEnable(“Schedule”);

 Description

Enables / Disables the Schedule within the Function. Enter 0 to disable, 1 to enable.

If disabled, the schedule Schedule will no longer function until re-enabled.

Examples

Disable / Re-Enable the Schedule “Reminder”

schedule.setEnable(“Reminder”, 0);

schedule.isEnabled

Check the current status of a Schedule

Function

schedule.isEnabled(“Schedule”);

 Description

Returns true if the Schedule is enabled, will return false if the Schedule is disabled.

Examples

Send a Notification if the “Reminder” Schedule is enabled.

if(schedule.isEnabled("Reminder"))
{
notification.send("Schedule Enabled");
}