@integry/sdk 4.6.4 → 4.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integry/sdk",
3
- "version": "4.6.4",
3
+ "version": "4.6.5",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -519,6 +519,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
519
519
  isFunctionSource = false,
520
520
  ) => {
521
521
  if (integryObject) {
522
+ const outputPrefix = isFunctionSource ? 'output' : 'out';
522
523
  try {
523
524
  let objectPaylaod = {};
524
525
  if (isFunctionSource) {
@@ -539,7 +540,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
539
540
  const activityOutputData = JSONToActivityOutputData(
540
541
  objectPaylaod,
541
542
  '',
542
- `steps.${sourceStepKey}.out.${
543
+ `steps.${sourceStepKey}.${outputPrefix}.${
543
544
  stepTagsSource.loop_variable_name
544
545
  ? `${stepTagsSource.loop_variable_name}.`
545
546
  : ''
@@ -548,7 +549,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
548
549
  const dynamicFieldData = JSONToDynamicFieldData(
549
550
  objectPaylaod,
550
551
  '',
551
- `steps.${sourceStepKey}.out.${
552
+ `steps.${sourceStepKey}.${outputPrefix}.${
552
553
  stepTagsSource.loop_variable_name
553
554
  ? `${stepTagsSource.loop_variable_name}.`
554
555
  : ''