We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a14213a commit d8dab71Copy full SHA for d8dab71
src/subworkflows/subworkflow.js
@@ -91,12 +91,12 @@ export class Subworkflow extends BaseSubworkflow {
91
config = {},
92
Cls = Subworkflow,
93
) {
94
- const idName = config.attributes?.name || name;
+ const nameForIdGeneration = config.attributes?.name || name;
95
const { functions, attributes, ...cleanConfig } = config;
96
97
return new Cls({
98
...cleanConfig,
99
- _id: Cls.generateSubworkflowId(idName),
+ _id: Cls.generateSubworkflowId(nameForIdGeneration),
100
name,
101
application: application.toJSON(),
102
properties: lodash.sortedUniq(
0 commit comments