Created
September 29, 2020 00:08
-
-
Save tsurdilo/3d754325aa2d368ffbd637370c9138cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id: testworkflow | |
name: Test Workflow | |
version: '1.0' | |
functions: | |
- name: getCurrentTime | |
operation: http://us-central-workflowsample.cloudfunctions.net/api.yml#datetime | |
- name: readWikipedia | |
operation: https://en.wikipedia.org/w/api.json#readLatest | |
states: | |
- name: GetTodaysWikipediaArticles | |
type: operation | |
start: | |
kind: default | |
actions: | |
- name: getctime | |
functionRef: | |
refName: getCurrentTime | |
- name: gettodaysarticles | |
functionRef: | |
refName: readWikipedia | |
parameters: | |
query: | |
action: opensearch | |
search: "{{ $.dayOfTheWeek }}" | |
end: | |
kind: default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment