The workflow rule of the workflow template is as follows:
- The name of the work pool must be unique
- There is only one allocation pool and it must be at the head node
- The end of each branch must be the completion pool
- No isolated nodes
- The maximum number of nodes in the working pool template is 20
- A work pool other than the assignment pool can have only one subordinate work pool
WARNING
When the node type is 'ALGORITHM', the current version is not supported.
body params
nodes
edges
Examples
shell
curl https://${domain}/rosetta-open/workflow/template \
-X POST \
-H 'Content-Type: application/json' \
-H 'X-STARDUST-KEY: <X-STARDUST-KEY>' \
-H 'X-TS: <X-TS>' \
-H 'X-SIGN: <X-SIGN>' \
-d '{"nodes":[{"name":"disttribution","type":"DISTRIBUTION"}],"edges":[{"from":"annotation","to":"check"}],"name":"template name"}'
json
json
json
responses
json