Add test tab to tool step (#19760)
So we can use those as variables. When the function input is updated, invalidate the input using an effect. <img width="770" height="635" alt="Capture d’écran 2026-04-16 à 14 45 41" src="https://github.com/user-attachments/assets/cbf0b3e4-baad-424d-8f08-06eb1028abdb" />
This commit is contained in:
+14
-1
@@ -224,9 +224,22 @@ export class WorkflowVersionStepOperationsWorkspaceService {
|
||||
type: WorkflowActionType.LOGIC_FUNCTION,
|
||||
settings: {
|
||||
...BASE_STEP_DEFINITION,
|
||||
outputSchema: {
|
||||
link: {
|
||||
isLeaf: true,
|
||||
icon: 'IconVariable',
|
||||
tab: 'test',
|
||||
label: 'Generate Function Output',
|
||||
},
|
||||
_outputSchemaType: 'LINK',
|
||||
},
|
||||
input: {
|
||||
logicFunctionId,
|
||||
logicFunctionInput: {},
|
||||
logicFunctionInput: isDefined(flatLogicFunction.toolInputSchema)
|
||||
? (getFunctionInputFromInputSchema([
|
||||
flatLogicFunction.toolInputSchema,
|
||||
])[0] ?? {})
|
||||
: {},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user