Add variable path (#10720)
<img width="537" alt="Capture d’écran 2025-03-07 à 09 44 21" src="https://github.com/user-attachments/assets/52c4d292-01af-4389-aa66-551be2358dd7" /> - search through step output schema the variable - build the variable path - returns the variable label - display both
This commit is contained in:
@ -33,9 +33,9 @@ export const useAvailableVariablesInWorkflowStep = ({
|
||||
const availableStepsOutputSchema: StepOutputSchema[] =
|
||||
getStepsOutputSchema(previousStepIds).filter(isDefined);
|
||||
|
||||
const triggersOutputSchema: StepOutputSchema[] = getStepsOutputSchema([
|
||||
TRIGGER_STEP_ID,
|
||||
]).filter(isDefined);
|
||||
const triggersOutputSchema: StepOutputSchema[] = isDefined(flow.trigger)
|
||||
? getStepsOutputSchema([TRIGGER_STEP_ID]).filter(isDefined)
|
||||
: [];
|
||||
|
||||
const availableVariablesInWorkflowStep = [
|
||||
...availableStepsOutputSchema,
|
||||
|
||||
Reference in New Issue
Block a user