snow-flow 10.0.1-dev.471 → 10.0.1-dev.472
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
|
@@ -1112,8 +1112,10 @@ async function addActionViaGraphQL(
|
|
|
1112
1112
|
if (recordActionResult.labelCacheInserts.length > 0) {
|
|
1113
1113
|
updatePatch.labelCache.insert = recordActionResult.labelCacheInserts;
|
|
1114
1114
|
}
|
|
1115
|
-
|
|
1116
|
-
steps.
|
|
1115
|
+
// Log the exact GraphQL mutation for debugging
|
|
1116
|
+
steps.record_update_mutation = jsToGraphQL(updatePatch);
|
|
1117
|
+
var actionUpdateResult = await executeFlowPatchMutation(client, updatePatch, actionResponseFields);
|
|
1118
|
+
steps.record_update = { success: true, inputCount: updateInputs.length, response: actionUpdateResult };
|
|
1117
1119
|
} catch (ue: any) {
|
|
1118
1120
|
steps.record_update = { success: false, error: ue.message };
|
|
1119
1121
|
// Action was created — update failure is non-fatal
|
|
@@ -1837,8 +1839,10 @@ async function addFlowLogicViaGraphQL(
|
|
|
1837
1839
|
}]
|
|
1838
1840
|
}
|
|
1839
1841
|
};
|
|
1840
|
-
|
|
1841
|
-
steps.
|
|
1842
|
+
// Log the exact GraphQL mutation for debugging
|
|
1843
|
+
steps.condition_update_mutation = jsToGraphQL(updatePatch);
|
|
1844
|
+
var updateResult = await executeFlowPatchMutation(client, updatePatch, logicResponseFields);
|
|
1845
|
+
steps.condition_update = { success: true, response: updateResult };
|
|
1842
1846
|
} catch (ue: any) {
|
|
1843
1847
|
steps.condition_update = { success: false, error: ue.message };
|
|
1844
1848
|
// Element was created successfully — condition update failure is non-fatal
|