Skip to content

Commit e97a8db

Browse files
authored
add hyperlinks to examples (#377)
Signed-off-by: Yu Zhao 00540916 <[email protected]>
1 parent e23f95e commit e97a8db

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ states:
107107
108108
#### Description
109109
110-
This example shows a single Operation state with one action that calls the "greeting" function.
110+
This example shows a single [Operation State](../specification.md#operation-state) with one action that calls the "greeting" function.
111111
The workflow data input is assumed to be the name of the person to greet:
112112
113113
```json
@@ -215,7 +215,7 @@ states:
215215
216216
#### Description
217217
218-
This example shows a single Event state with one action that calls the "greeting" function.
218+
This example shows a single [Event State](../specification.md#event-state) with one action that calls the "greeting" function.
219219
The event state consumes cloud events of type "greetingEventType". When an even with this type
220220
is consumed, the Event state performs a single action that calls the defined "greeting" function.
221221
@@ -384,7 +384,7 @@ states:
384384
385385
#### Description
386386
387-
In this example we show how to iterate over data using the ForEach state.
387+
In this example we show how to iterate over data using the [ForEach State](../specification.md#foreach-state).
388388
The state will iterate over a collection of simple math expressions which are
389389
passed in as the workflow data input:
390390
@@ -494,7 +494,7 @@ states:
494494
495495
#### Description
496496
497-
This example uses a parallel state to execute two branches (simple wait states) at the same time.
497+
This example uses a [Parallel State](../specification.md#parallel-state) to execute two branches (simple wait states) at the same time.
498498
The completionType type is set to "allOf", which means the parallel state has to wait for both branches
499499
to finish execution before it can transition (end workflow execution in this case as it is an end state).
500500
@@ -583,7 +583,7 @@ delay state.
583583

584584
#### Description
585585

586-
In this example we use an Event-based Switch state to wait for arrival
586+
In this example we use an Event-based [Switch State](../specification.md#switch-state) to wait for arrival
587587
of the "VisaApproved", or "VisaRejected" Cloud Events. Depending on which type of event happens,
588588
the workflow performs a different transition. If none of the events arrive in the defined 1 hour timeout
589589
period, the workflow transitions to the "HandleNoVisaDecision" state.
@@ -730,7 +730,7 @@ states:
730730

731731
#### Description
732732

733-
This example shows off the switch state and the subflow action. The workflow is started with application information data as input:
733+
This example shows off the [Switch State](../specification.md#switch-state) and the subflow action. The workflow is started with application information data as input:
734734

735735
```json
736736
{

0 commit comments

Comments
 (0)