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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
- "version": "10.0.1-dev.471",
3
+ "version": "10.0.1-dev.472",
4
4
  "name": "snow-flow",
5
5
  "description": "Snow-Flow - ServiceNow Multi-Agent Development Framework powered by AI",
6
6
  "license": "Elastic-2.0",
@@ -1112,8 +1112,10 @@ async function addActionViaGraphQL(
1112
1112
  if (recordActionResult.labelCacheInserts.length > 0) {
1113
1113
  updatePatch.labelCache.insert = recordActionResult.labelCacheInserts;
1114
1114
  }
1115
- await executeFlowPatchMutation(client, updatePatch, actionResponseFields);
1116
- steps.record_update = { success: true, inputCount: updateInputs.length };
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
- await executeFlowPatchMutation(client, updatePatch, logicResponseFields);
1841
- steps.condition_update = { success: true };
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