diff --git a/examples/book-lending.json b/examples/book-lending.json index 5088d165..5b2dabaf 100644 --- a/examples/book-lending.json +++ b/examples/book-lending.json @@ -1,5 +1,5 @@ { - "name": "booklending", + "name": "book-lending", "description": "Book Lending Workflow", "version": "1.0.0", "specVersion": "0.8", diff --git a/examples/car-vitals-checks-subflow.json b/examples/car-vitals-checks-subflow.json index 4b5b6add..0f242c94 100644 --- a/examples/car-vitals-checks-subflow.json +++ b/examples/car-vitals-checks-subflow.json @@ -1,5 +1,5 @@ { - "name": "vitalscheck", + "name": "vitals-check", "description": "Car Vitals Check", "version": "1.0.0", "specVersion": "0.8", diff --git a/examples/car-vitals-checks.json b/examples/car-vitals-checks.json index e271a96b..b40ab74c 100644 --- a/examples/car-vitals-checks.json +++ b/examples/car-vitals-checks.json @@ -1,5 +1,5 @@ { - "name": "checkcarvitals", + "name": "check-car-vitals", "description": "Check Car Vitals Workflow", "version": "1.0.0", "specVersion": "0.8", diff --git a/examples/continuing-as-a-new-execution.json b/examples/continuing-as-a-new-execution.json index 5bbd61a4..0f42ac92 100644 --- a/examples/continuing-as-a-new-execution.json +++ b/examples/continuing-as-a-new-execution.json @@ -1,5 +1,5 @@ { - "name": "notifycustomerworkflow", + "name": "notify-customer-workflow", "description": "Notify Customer", "version": "1.0.0", "specVersion": "0.8", diff --git a/examples/filling-a-glass-of-water.json b/examples/filling-a-glass-of-water.json index 21399430..98dc8d98 100644 --- a/examples/filling-a-glass-of-water.json +++ b/examples/filling-a-glass-of-water.json @@ -1,5 +1,5 @@ { - "name": "fillglassofwater", + "name": "fill-glass-of-water", "description": "Fill glass of water workflow", "version": "1.0.0", "specVersion": "0.8", diff --git a/examples/monitor-job.json b/examples/monitor-job.json index 4cfc57b7..d3ded232 100644 --- a/examples/monitor-job.json +++ b/examples/monitor-job.json @@ -1,7 +1,7 @@ { "version": "1.0.0", "specVersion": "0.8", - "name": "jobmonitoring", + "name": "job-monitoring", "description": "Monitor finished execution of a submitted job", "start": "submit-job", "functions": [ diff --git a/examples/new-patient-onboarding.json b/examples/new-patient-onboarding.json index 1911d433..cb6e9748 100644 --- a/examples/new-patient-onboarding.json +++ b/examples/new-patient-onboarding.json @@ -1,5 +1,5 @@ { - "name": "patientonboarding", + "name": "patient-onboarding", "version": "1.0.0", "specVersion": "0.8", "start": "onboard", diff --git a/examples/perform-customer-credit-check.json b/examples/perform-customer-credit-check.json index ac098e9b..7f28f51d 100644 --- a/examples/perform-customer-credit-check.json +++ b/examples/perform-customer-credit-check.json @@ -1,7 +1,7 @@ { "version": "1.0.0", "specVersion": "0.8", - "name": "customercreditcheck", + "name": "customer-credit-check", "description": "Perform Customer Credit Check", "start": "check-credit", "functions": [ diff --git a/examples/process-transactions.json b/examples/process-transactions.json index 52ed98f4..8535a570 100644 --- a/examples/process-transactions.json +++ b/examples/process-transactions.json @@ -1,5 +1,5 @@ { - "name": "customerbankingtransactions", + "name": "customer-banking-transactions", "description": "Customer Banking Transactions Workflow", "version": "1.0.0", "specVersion": "0.8", diff --git a/examples/reusing-function-and-event-definitions.json b/examples/reusing-function-and-event-definitions.json index 0b9e49e9..3a8f2c77 100644 --- a/examples/reusing-function-and-event-definitions.json +++ b/examples/reusing-function-and-event-definitions.json @@ -1,7 +1,7 @@ { "version": "1.0.0", "specVersion": "0.8", - "name": "paymentconfirmation", + "name": "payment-confirmation", "description": "Performs Payment Confirmation", "functions": "file://functiondefs.json", "events": "file://eventdefs.yml", diff --git a/examples/send-cloudevent-on-workflow-completion.json b/examples/send-cloudevent-on-workflow-completion.json index a9c61584..391a8710 100644 --- a/examples/send-cloudevent-on-workflow-completion.json +++ b/examples/send-cloudevent-on-workflow-completion.json @@ -1,7 +1,7 @@ { "version": "1.0.0", "specVersion": "0.8", - "name": "sendcloudeventonprovision", + "name": "send-cloudevent-provision", "start": "provision-orders-state", "events": [ { diff --git a/examples/solving-math-problems.json b/examples/solving-math-problems.json index a74bd014..1e22820d 100644 --- a/examples/solving-math-problems.json +++ b/examples/solving-math-problems.json @@ -1,7 +1,7 @@ { "version": "1.0.0", "specVersion": "0.8", - "name": "solve-math-problems-workflow", + "name": "solve-math-problems", "description": "Solve math problems", "start": "solve", "functions": [ diff --git a/specification.md b/specification.md index 8eecc3a9..fbac0208 100644 --- a/specification.md +++ b/specification.md @@ -4194,7 +4194,7 @@ This short-hand definition can be used if sub-workflow lookup is done only by it property and not its `version` property. ```json -"subFlowRef": "mySubFlowName" +"subFlowRef": "my-subflow-id" ``` If you need to define the `version` properties, you can use its `object` type: @@ -4219,7 +4219,7 @@ If you need to define the `version` properties, you can use its `object` type: ```json { - "workflowId": "handleApprovedVisaWorkflowID", + "workflowId": "handle-approved-visa", "version": "2.0.0" } ``` @@ -4228,7 +4228,7 @@ If you need to define the `version` properties, you can use its `object` type: ```yaml -workflowId: handleApprovedVisaWorkflowID +workflowId: handle-approved-visa version: '2.0.0' ``` @@ -6107,13 +6107,13 @@ If string type, it contains the unique workflow name of the workflow that the ex ```json { "end": { - "continueAs": "myworkflowname" + "continueAs": "my-workflow-name" } } ``` Defining this should stop the current workflow execution, and continue execution as a new workflow instance of the -workflow which defines the workflow name of "myworkflowbane". The state data where this is define should +workflow which defines the workflow name of "my-workflow-name". The state data where this is define should become the workflow data input of the workflow that is continuing the current workflow execution. Note that any defined `produceEvents` and `compensate` definitions should be honored before `continueAs` is applied.