Skip to content

Trigger

Description

Display list with time.

Attributes

  • tile: triggers
  • title
  • opts: [Objects]
    • trigger
      • behaviorKind: script | workflow.Indicate the behaviour kind
      • behaviorId: Indicate behaviour id
      • triggerKind: tracker | schedule
      • status: active | retired. Indicate the switch status.
      • maxCount: restrict user to maximum number of entries
      • entry: text | dropdown. Represent show dropdown or text for trigger name.By default, is text.
    • choices: [Array of objects].If entry is dropdown then provide a option for dropDown
      • name: Trigger name
      • time: Cron time

Example

{
  "tile": "triggers",
  "opts": {
    "trigger": {
      "behaviorKind": "script",
      "behaviorId": "107d2337-37be-4198-8ee1-14eec29ba296",
      "triggerKind": "schedule",
      "status": "active",
      "maxCount": 3,
      "entry": "dropdown"
    },
    "choices": [
      {
        "name": "Morning",
        "time": "8:00"
      },
      {
        "name": "Lunch",
        "time": "12:00"
      },
      {
        "name": "Afternoon",
        "time": "15:00"
      }
    ]
  },
  "title": "アラーム"
}