Merge pull request #2343 from automatisch/use-step-name-in-variables

fix(variables): use step names in variables
This commit is contained in:
Ömer Faruk Aydın
2025-02-13 10:35:29 +01:00
committed by GitHub

View File

@@ -81,10 +81,7 @@ export const processStepWithExecutions = (steps) => {
})
.map((step, index) => ({
id: step.id,
// TODO: replace with step.name once introduced
name: `${index + 1}. ${
(step.appKey || '').charAt(0)?.toUpperCase() + step.appKey?.slice(1)
}`,
name: `${index + 1}. ${step.name}`,
output: process({
data: step.executionSteps?.[0]?.dataOut || {},
parentKey: `step.${step.id}`,