commit 775eae5a234eb12ab345a3605239bde369bf2a17
parent bf0f6f1366d1bb95aa9779c435dbde87e9bd568c
Author: Bob Haugen <bob.haugen@gmail.com>
Date: Wed, 14 Aug 2019 13:24:35 -0500
Merge pull request #555 from valueflows/stage
Stage
Diffstat:
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/docs/examples/ex-complex.md b/docs/examples/ex-complex.md
@@ -13,9 +13,9 @@ Bob purchases 30kg of apples from Alice and Claudia transports them (FOB destina
#### Manufacturing and workflow
-A component is produced (manufacturing pattern) and tested (workflow pattern). QT ("quality testing") gives pass and/or fail outputs. The failed buckets are passed back into the polymer resource as part of the QT process, to be used in this or the next bucket run.
+A component is produced (manufacturing pattern) and tested (workflow pattern). QT ("quality testing") gives pass and/or fail outputs. The failed components are passed back into a source resource (because it can be re-used as an input as part of the QT process, to be used in this or the next manufacturing run.
-The QT needs the stage and state of the input bucket resource, because QT would only be done on buckets that are made and not tested yet. By the same token, buckets would only be sent into the next assembly process if they have passed the QT process/stage (not part of this example).
+The QT needs the stage and state of the input component resource, because QT would only be done on components that are made and not tested yet. By the same token, components would only be sent into the next assembly process if they have passed the QT process/stage (not part of this example).
This example includes recipe, plan, and actuals.
diff --git a/examples/workflow-stage-state.yaml b/examples/workflow-stage-state.yaml
@@ -95,7 +95,7 @@
- '@id': mfg:a8356625-bf64-4c16-9099-28aa1b718c4b
'@type': RecipeProcess
name: QT bucket white 5 gallon - minimum run
- basedOn: mfg:6fb358a3-2859-4d6a-a4fa-431603ee70f5 # the process specification
+ processConformsTo: mfg:6fb358a3-2859-4d6a-a4fa-431603ee70f5 # the process specification
time:hasDuration:
time:unitType unit:Hour
time:numericDuration: 1
@@ -126,7 +126,7 @@
- '@id': mfg:e1721a61-cd47-4556-84b9-8b1b81da15bf
'@type': RecipeProcess
name: Make bucket white 5 gallon - minimum run
- basedOn: mfg:27be5cab-d740-4194-9298-1661a69d9d95 # the process specification
+ processConformsTo: mfg:27be5cab-d740-4194-9298-1661a69d9d95 # the process specification
time:hasDuration:
time:unitType unit:Hour
time:numericDuration: 7
@@ -190,6 +190,7 @@
'@type': Process
name: Make bucket white 5 gallon
plannedWithin: mfg:8e5fe80d-a769-4bd5-89e5-2136d33eab9f
+ basedOn: mfg:27be5cab-d740-4194-9298-1661a69d9d95 # the process specification
time:hasDuration:
time:unitType unit:Hour
time:numericDuration: 14
@@ -221,6 +222,7 @@
'@type': Process
name: QT bucket white 5 gallon
plannedWithin: mfg:8e5fe80d-a769-4bd5-89e5-2136d33eab9f
+ basedOn: mfg:6fb358a3-2859-4d6a-a4fa-431603ee70f5 # the process specification
time:hasDuration:
time:unitType unit:Hour
time:numericDuration: 14