@integry/sdk 4.6.3 → 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
|
@@ -247,7 +247,11 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
247
247
|
(stepMapping[stepIdOfSourceStep].step.machine_name ===
|
|
248
248
|
sourceStepKey ||
|
|
249
249
|
stepMapping[stepIdOfSourceStep].step.machine_name ===
|
|
250
|
-
stepTagsSource.form_step_machine_name
|
|
250
|
+
stepTagsSource.form_step_machine_name ||
|
|
251
|
+
(stepTagsSource.tag_source_function_invocation_details &&
|
|
252
|
+
stepTagsSource.app_id ===
|
|
253
|
+
stepMapping[stepIdOfSourceStep].step?.authorization_type?.app
|
|
254
|
+
?.id)) &&
|
|
251
255
|
!props.genericData.isTestIntegration
|
|
252
256
|
) {
|
|
253
257
|
hasSetData = true;
|
|
@@ -282,7 +286,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
282
286
|
? this.makeTagSourceFunctionBody(
|
|
283
287
|
tagSourceFunctionInvocationDetails.body,
|
|
284
288
|
sourceStepData,
|
|
285
|
-
|
|
289
|
+
stepMapping[stepIdOfSourceStep].step.machine_name || '',
|
|
286
290
|
)
|
|
287
291
|
: {};
|
|
288
292
|
const callDynamicDataEndpointMethod = isFunctionSource
|
|
@@ -301,6 +305,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
301
305
|
new URL(stepTagsSource.activity_output_url),
|
|
302
306
|
{
|
|
303
307
|
authorization_id: `${props.stepMapping[stepIdOfSourceStep].selectedAuthId}`,
|
|
308
|
+
connected_account_id: `${props.stepMapping[stepIdOfSourceStep].selectedAuthId}`,
|
|
304
309
|
...sourceStepData,
|
|
305
310
|
...tagSourceFunctionBody,
|
|
306
311
|
},
|
|
@@ -514,6 +519,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
514
519
|
isFunctionSource = false,
|
|
515
520
|
) => {
|
|
516
521
|
if (integryObject) {
|
|
522
|
+
const outputPrefix = isFunctionSource ? 'output' : 'out';
|
|
517
523
|
try {
|
|
518
524
|
let objectPaylaod = {};
|
|
519
525
|
if (isFunctionSource) {
|
|
@@ -534,7 +540,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
534
540
|
const activityOutputData = JSONToActivityOutputData(
|
|
535
541
|
objectPaylaod,
|
|
536
542
|
'',
|
|
537
|
-
`steps.${sourceStepKey}
|
|
543
|
+
`steps.${sourceStepKey}.${outputPrefix}.${
|
|
538
544
|
stepTagsSource.loop_variable_name
|
|
539
545
|
? `${stepTagsSource.loop_variable_name}.`
|
|
540
546
|
: ''
|
|
@@ -543,7 +549,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
543
549
|
const dynamicFieldData = JSONToDynamicFieldData(
|
|
544
550
|
objectPaylaod,
|
|
545
551
|
'',
|
|
546
|
-
`steps.${sourceStepKey}
|
|
552
|
+
`steps.${sourceStepKey}.${outputPrefix}.${
|
|
547
553
|
stepTagsSource.loop_variable_name
|
|
548
554
|
? `${stepTagsSource.loop_variable_name}.`
|
|
549
555
|
: ''
|