-
Sub-task
-
Resolution: Done
-
Critical
-
None
-
None
-
None
-
False
-
-
False
-
-
The /api/v1/workflowdefinitions endpoint recently provides tasks with parameters of
"type: URL, key: api-server" only.
The backend needs to be extended to provide more complex workflow definitions.
In addition, recent swagger has only following parameter types:
type: 'PASSWORD' | 'TEXT' | 'EMAIL' | 'DATE' | 'NUMBER' | 'URL';
It should be changed/extended to support following: https://www.figma.com/file/iu0HAOSoLOESA2GHyxuHLg/parados-mui?node-id=2886%3A2967&t=izxFg4GpYPCzFa7z-0
Example: type: 'SELECT'
{
key: 'param7',
description: 'Select parameter',
optional: false,
type: 'SELECT',
options: [
{ key: 'option1', value: 'Option 1' },
{ key: 'option2', value: 'Option 2' },
],
},
Next, recent swagger does not support workflow-level parameters. There are task-level params only. Per offline discussions, this should be supported as well.