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.And the completion pool cannot be connected after the 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
body params
nodes
algorithmList
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
json
responses
json