Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a flowchart of pipeline script example #9

Open
JasonShin opened this issue Oct 7, 2018 · 1 comment
Open

Add a flowchart of pipeline script example #9

JasonShin opened this issue Oct 7, 2018 · 1 comment
Labels

Comments

@JasonShin
Copy link
Member

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!"
     }
   }
 ]
}
@JasonShin JasonShin added the docs label Oct 7, 2018
@JasonShin
Copy link
Member Author

JasonShin commented Oct 7, 2018

This is complete and the chart is available in the specification document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant