snow-flow 10.0.1-dev.409 → 10.0.1-dev.410
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
|
@@ -1634,11 +1634,11 @@ export async function execute(args: any, context: ServiceNowContext): Promise<To
|
|
|
1634
1634
|
|
|
1635
1635
|
}
|
|
1636
1636
|
|
|
1637
|
-
// ── Register flow with Flow Designer engine
|
|
1638
|
-
//
|
|
1639
|
-
//
|
|
1640
|
-
//
|
|
1641
|
-
if (flowSysId
|
|
1637
|
+
// ── Register flow with Flow Designer engine ──
|
|
1638
|
+
// Call the REST API (publish/activate/checkout+checkin/snapshot) to
|
|
1639
|
+
// trigger engine compilation and set latest_version (computed field
|
|
1640
|
+
// that cannot be set via GlideRecord or Table API PATCH).
|
|
1641
|
+
if (flowSysId) {
|
|
1642
1642
|
var engineResult = await registerFlowWithEngine(client, flowSysId, shouldActivate);
|
|
1643
1643
|
diagnostics.engine_registration = {
|
|
1644
1644
|
success: engineResult.success,
|