@@ -67,7 +67,7 @@ data output, which is:
67
67
``` json
68
68
{
69
69
"id" : " helloworld" ,
70
- "version" : " 1.0.0"
70
+ "version" : " 1.0.0" ,
71
71
"specVersion" : " 0.8" ,
72
72
"name" : " Hello World Workflow" ,
73
73
"description" : " Inject Hello World" ,
@@ -151,7 +151,7 @@ Which is added to the states data and becomes the workflow data output.
151
151
``` json
152
152
{
153
153
"id" : " greeting" ,
154
- "version" : " 1.0.0"
154
+ "version" : " 1.0.0" ,
155
155
"specVersion" : " 0.8" ,
156
156
"name" : " Greeting Workflow" ,
157
157
"description" : " Greet Someone" ,
@@ -296,7 +296,7 @@ filters what is selected to be the state data output which then becomes the work
296
296
``` json
297
297
{
298
298
"id" : " eventbasedgreeting" ,
299
- "version" : " 1.0.0"
299
+ "version" : " 1.0.0" ,
300
300
"specVersion" : " 0.8" ,
301
301
"name" : " Event Based Greeting Workflow" ,
302
302
"description" : " Event Based Greeting" ,
@@ -424,7 +424,7 @@ result of the workflow execution.
424
424
``` json
425
425
{
426
426
"id" : " solvemathproblems" ,
427
- "version" : " 1.0.0"
427
+ "version" : " 1.0.0" ,
428
428
"specVersion" : " 0.8" ,
429
429
"name" : " Solve Math Problems Workflow" ,
430
430
"description" : " Solve math problems" ,
@@ -521,7 +521,7 @@ to finish execution before it can transition (end workflow execution in this cas
521
521
` ` ` json
522
522
{
523
523
" id " : " parallelexec" ,
524
- " version " : " 1.0.0"
524
+ " version " : " 1.0.0" ,
525
525
" specVersion " : " 0.8" ,
526
526
" name " : " Parallel Execution Workflow" ,
527
527
" description " : " Executes two branches in parallel" ,
@@ -611,7 +611,7 @@ does not wait for its results.
611
611
` ` ` json
612
612
{
613
613
"id": "sendcustomeremail",
614
- "version": "1.0.0"
614
+ "version": "1.0.0",
615
615
"specVersion": "0.8",
616
616
"name": "Send customer email workflow",
617
617
"description": "Send email to a customer",
@@ -702,7 +702,7 @@ property to `continue`.
702
702
` ` ` json
703
703
{
704
704
"id": "onboardcustomer",
705
- "version": "1.0.0"
705
+ "version": "1.0.0",
706
706
"specVersion": "0.8",
707
707
"name": "Onboard Customer",
708
708
"description": "Onboard a Customer",
@@ -784,7 +784,7 @@ period, the workflow transitions to the "HandleNoVisaDecision" state.
784
784
` ` ` json
785
785
{
786
786
"id": "eventbasedswitchstate",
787
- "version": "1.0.0"
787
+ "version": "1.0.0",
788
788
"specVersion": "0.8",
789
789
"name": "Event Based Switch Transitions",
790
790
"description": "Event Based Switch Transitions",
@@ -946,7 +946,7 @@ If the applicants age is over 18 we start the application (subflow action). Othe
946
946
` ` ` json
947
947
{
948
948
"id": "applicantrequest",
949
- "version": "1.0.0"
949
+ "version": "1.0.0",
950
950
"specVersion": "0.8",
951
951
"name": "Applicant Request Decision Workflow",
952
952
"description": "Determine if applicant request is valid",
@@ -1090,7 +1090,7 @@ The data output of the workflow contains the information of the exception caught
1090
1090
` ` ` json
1091
1091
{
1092
1092
"id": "provisionorders",
1093
- "version": "1.0.0"
1093
+ "version": "1.0.0",
1094
1094
"specVersion": "0.8",
1095
1095
"name": "Provision Orders",
1096
1096
"description": "Provision Orders and handle errors thrown",
@@ -1286,7 +1286,7 @@ In the case job submission raises a runtime error, we transition to an Operation
1286
1286
` ` ` json
1287
1287
{
1288
1288
"id": "jobmonitoring",
1289
- "version": "1.0.0"
1289
+ "version": "1.0.0",
1290
1290
"specVersion": "0.8",
1291
1291
"name": "Job Monitoring",
1292
1292
"description": "Monitor finished execution of a submitted job",
@@ -1577,7 +1577,7 @@ CloudEvent upon completion of the workflow could look like:
1577
1577
` ` ` json
1578
1578
{
1579
1579
"id": "sendcloudeventonprovision",
1580
- "version": "1.0.0"
1580
+ "version": "1.0.0",
1581
1581
"specVersion": "0.8",
1582
1582
"name": "Send CloudEvent on provision completion",
1583
1583
"start": "ProvisionOrdersState",
@@ -1711,7 +1711,7 @@ have the matching patient id.
1711
1711
{
1712
1712
"id": "patientVitalsWorkflow",
1713
1713
"name": "Monitor Patient Vitals",
1714
- "version": "1.0.0"
1714
+ "version": "1.0.0",
1715
1715
"specVersion": "0.8",
1716
1716
"start": "MonitorVitals",
1717
1717
"events": [
@@ -1906,7 +1906,7 @@ when all three of these events happened (in no particular order).
1906
1906
{
1907
1907
"id": "finalizeCollegeApplication",
1908
1908
"name": "Finalize College Application",
1909
- "version": "1.0.0"
1909
+ "version": "1.0.0",
1910
1910
"specVersion": "0.8",
1911
1911
"start": "FinalizeApplication",
1912
1912
"events": [
@@ -2117,7 +2117,7 @@ And for denied credit check, for example:
2117
2117
` ` ` json
2118
2118
{
2119
2119
"id": "customercreditcheck",
2120
- "version": "1.0.0"
2120
+ "version": "1.0.0",
2121
2121
"specVersion": "0.8",
2122
2122
"name": "Customer Credit Check Workflow",
2123
2123
"description": "Perform Customer Credit Check",
@@ -2322,7 +2322,7 @@ Bidding is done via an online application and bids are received as events are as
2322
2322
` ` ` json
2323
2323
{
2324
2324
"id": "handleCarAuctionBid",
2325
- "version": "1.0.0"
2325
+ "version": "1.0.0",
2326
2326
"specVersion": "0.8",
2327
2327
"name": "Car Auction Bidding Workflow",
2328
2328
"description": "Store a single bid whole the car auction is active",
@@ -2452,7 +2452,7 @@ The results of the inbox service called is expected to be for example:
2452
2452
{
2453
2453
"id": "checkInbox",
2454
2454
"name": "Check Inbox Workflow",
2455
- "version": "1.0.0"
2455
+ "version": "1.0.0",
2456
2456
"specVersion": "0.8",
2457
2457
"description": "Periodically Check Inbox",
2458
2458
"start": {
@@ -2596,7 +2596,7 @@ For this example we assume that the workflow instance is started given the follo
2596
2596
"id": "VetAppointmentWorkflow",
2597
2597
"name": "Vet Appointment Workflow",
2598
2598
"description": "Vet service call via events",
2599
- "version": "1.0.0"
2599
+ "version": "1.0.0",
2600
2600
"specVersion": "0.8",
2601
2601
"start": "MakeVetAppointmentState",
2602
2602
"events": [
@@ -2747,7 +2747,7 @@ In our workflow definition then we can reference these files rather than definin
2747
2747
` ` ` json
2748
2748
{
2749
2749
"id": "paymentconfirmation",
2750
- "version": "1.0.0"
2750
+ "version": "1.0.0",
2751
2751
"specVersion": "0.8",
2752
2752
"name": "Payment Confirmation Workflow",
2753
2753
"description": "Performs Payment Confirmation",
@@ -2951,7 +2951,7 @@ If the retries are not successful, we want to just gracefully end workflow execu
2951
2951
{
2952
2952
"id": "patientonboarding",
2953
2953
"name": "Patient Onboarding Workflow",
2954
- "version": "1.0.0"
2954
+ "version": "1.0.0",
2955
2955
"specVersion": "0.8",
2956
2956
"start": "Onboard",
2957
2957
"states": [
@@ -3123,7 +3123,7 @@ This example shows the use of the workflow [execTimeout definition](../specifica
3123
3123
{
3124
3124
"id": "order",
3125
3125
"name": "Purchase Order Workflow",
3126
- "version": "1.0.0"
3126
+ "version": "1.0.0",
3127
3127
"specVersion": "0.8",
3128
3128
"start": "StartNewOrder",
3129
3129
"timeouts": {
@@ -3407,7 +3407,7 @@ the data for an hour, send report, and so on.
3407
3407
{
3408
3408
"id": "roomreadings",
3409
3409
"name": "Room Temp and Humidity Workflow",
3410
- "version": "1.0.0"
3410
+ "version": "1.0.0",
3411
3411
"specVersion": "0.8",
3412
3412
"start": "ConsumeReading",
3413
3413
"timeouts": {
@@ -3581,7 +3581,7 @@ We fist define our top-level workflow for this example:
3581
3581
{
3582
3582
"id": "checkcarvitals",
3583
3583
"name": "Check Car Vitals Workflow",
3584
- "version": "1.0.0"
3584
+ "version": "1.0.0",
3585
3585
"specVersion": "0.8",
3586
3586
"start": "WhenCarIsOn",
3587
3587
"states": [
@@ -3696,7 +3696,7 @@ And then our reusable sub-workflow which performs the checking of our car vitals
3696
3696
{
3697
3697
"id": "vitalscheck",
3698
3698
"name": "Car Vitals Check",
3699
- "version": "1.0.0"
3699
+ "version": "1.0.0",
3700
3700
"specVersion": "0.8",
3701
3701
"start": "CheckVitals",
3702
3702
"states": [
@@ -3836,7 +3836,7 @@ For the sake of the example we assume the functions and event definitions are de
3836
3836
{
3837
3837
"id": "booklending",
3838
3838
"name": "Book Lending Workflow",
3839
- "version": "1.0.0"
3839
+ "version": "1.0.0",
3840
3840
"specVersion": "0.8",
3841
3841
"start": "Book Lending Request",
3842
3842
"states": [
@@ -4128,7 +4128,7 @@ Its results are then merged back into the state data according to the "toStateDa
4128
4128
{
4129
4129
"id": "fillglassofwater",
4130
4130
"name": "Fill glass of water workflow",
4131
- "version": "1.0.0"
4131
+ "version": "1.0.0",
4132
4132
"specVersion": "0.8",
4133
4133
"start": "Check if full",
4134
4134
"functions": [
@@ -4541,7 +4541,7 @@ We assume that our workflow input has the runtime-imposed quota:
4541
4541
"end":{
4542
4542
"continueAs": {
4543
4543
"workflowId": "notifycustomerworkflow",
4544
- "version": "1.0.0"
4544
+ "version": "1.0.0",
4545
4545
"data": "${ del(.customerCount) }"
4546
4546
}
4547
4547
}
@@ -4661,7 +4661,7 @@ decide which activity to perform based on the transaction value.
4661
4661
{
4662
4662
"id": "customerbankingtransactions",
4663
4663
"name": "Customer Banking Transactions Workflow",
4664
- "version": "1.0.0"
4664
+ "version": "1.0.0",
4665
4665
"specVersion": "0.8",
4666
4666
"autoRetries": true,
4667
4667
"constants": {
0 commit comments