Skip to content

Add a flowchart of pipeline script example #9

@JasonShin

Description

@JasonShin

Add a flowchart of pipeline script example

{
 "nodes": [
   { "id": "task_1", "guid": "trigger_12938x12938", "taskApp": "github", "taskType": "trigger", "taskName": "on_wiki_update", "chart": { "x": 12, "y": 39 } },
   { "id": "task_2", "guid": "action_12983xcv", "taskApp": "github", "taskType": "action", "taskName": "create_issue", "chart": { "x": 55, "y": 203 } },
   { "id": "task_3", "guid": "action_3432aa", "taskApp": "conditions", "taskType": "condition", "taskName": "wait", "chart": { "x": 232, "y": 111 } },
   { "id": "task_4", "guid": "action_634643asd1", "taskApp": "github", "taskType": "action", "taskName": "create_commit", "chart": { "x": 312, "y": 11 } },
   { "id": "task_5", "guid": "trigger_3928429xx", "taskApp": "discord", "taskType": "trigger", "taskName": "on_new_message", "chart": { "x": 91, "y": 211 } }
 ],
 "edges": [
   {
     "from": "task_1",
     "to": "task_2",
     "payload": {
       "title": "Creating a new issue for fun!",
       "body": "${task_1.title} was updated just now!"
     }
   },
   {
     "from": "task_2",
     "to": "task_3",
     "payload": {
       "delay": 5000
     }
   },
   {
     "from": "task_3",
     "to": "task_4",
     "payload": {
       "message": "As a result of wiki article ${task_1.title} update, now the system will make a new commit"
     }
   },
   {
     "from": "task_5",
     "to": "task_4",
     "payload": {
       "message": "Making a new commit out of a new message \"${task_5.message}\" from discord!"
     }
   }
 ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions