Skip to content

CreateWorkflowSpec

idstring^[a-z]([a-z0-9]|-)*[a-z0-9]:(data-types|compu...

The optional id of the specification. The id should be of the form '{authority}:{spec-type}:{id}', where '{authority}' is the owning authority of the specification, '{spec-type}' is one of 'data-types', 'computation-specs' or 'workflow-specs'.

Example:"slb:data-types:custom-specification"
namestringrequired

The name of the specification.

Example:"custom-specification"
descriptionstringrequired

The description of the specification.

Example:"Custom specification."
computationSpecIdsArray of stringsrequired

The computation specification IDs which make up the workflow specification. These computation specifications must have already been previously created. The order of the computation specifications is maintained in the created workflow specification. Note that specific versions of a computation-spec can be specified by using the format 'id:version'.

Example:
[ "ix", "peep" ]
edgesArray of objects(Edge)

A list of edges which describe all the links in the workflow specification. The edges describe the flow of data from one computation specifications output data-type to another computation specifications input data-type. The computation specifications referred to in the edges must have been previously created and be defined in the computationSpecIds property.

Example:
[ { "fromAddressType": "DataTypeOutput", "fromComputationIndex": 0, "fromDataTypeIndex": 0, "toComputationIndex": 1, "toDataTypeIndex": 0 } ]
annotationsArray of objects(Annotation)
Example:
[ { "address": { … }, "key": "name", "value": "Decline Curves", "createdBy": "user@slb.com" } ]
{ "id": "slb:workflow-specs:custom-workflow-spec", "name": "custom-workflow-spec", "description": "Description", "computationSpecIds": [ "ix", "peep" ], "edges": [ { … } ] }