Scaffold filters creation and deletion (#12990)
When the feature flag is activated, we can now create filters and delete them. This PR mainly updates how we generate workflow diagrams. https://github.com/user-attachments/assets/1a4aef46-7c3c-45fa-953f-0bd1908b9be7
This commit is contained in:
committed by
GitHub
parent
ba67e0d5f4
commit
e8a2d71844
@ -576,6 +576,20 @@ export class WorkflowVersionStepWorkspaceService {
|
||||
},
|
||||
};
|
||||
}
|
||||
case WorkflowActionType.FILTER: {
|
||||
return {
|
||||
id: newStepId,
|
||||
name: 'Filter',
|
||||
type: WorkflowActionType.FILTER,
|
||||
valid: false,
|
||||
settings: {
|
||||
...BASE_STEP_DEFINITION,
|
||||
input: {
|
||||
filter: {},
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
case WorkflowActionType.HTTP_REQUEST: {
|
||||
return {
|
||||
id: newStepId,
|
||||
|
||||
Reference in New Issue
Block a user