Skip to content

Conversation

Copy link

Copilot AI commented Dec 23, 2025

SYNC HELPER - Cloud Flows was failing when inventorying flows with connection references containing null id, connectionName, or displayName properties—common in Default Environments with embedded or system connections.

Changes

  • Parse_Connection_JSON schema: Allow null values for id, connectionName, and displayName fields
  • Parse_Connection_JSON schema: Remove required: ["id"] constraint that blocked null ID processing

Technical Details

Modified the JSON schema in the flow definition to accept both string and null types:

"id": {
  "type": ["string", "null"]
}

This allows the flow to process connection references regardless of whether metadata properties are populated, preventing "Invalid type. Expected String but got Null" errors during inventory operations.

Original prompt

This section details on the original issue you should resolve

<issue_title>[CoE Starter Kit - BUG] SYNC HELPER - Cloud Flows</issue_title>
<issue_description>### Does this bug already exist in our backlog?

  • I have checked and confirm this is a new bug.

Describe the issue

Hello Team,
We noticed that the SYNC HELPER – Cloud Flows flow failed for a large number of executions, and only in one environment (the Default Environment).

Image

The error is related to a Parse JSON action that requires all props, but some values are null.

Image Image

Expected Behavior

No response

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.50.7

What app or flow are you having the issue with?

SYNC HELPER - Cloud Flows

What method are you using to get inventory and telemetry?

None

Steps To Reproduce

No response

Anything else?

No response</issue_description>

<agent_instructions>Analyze and troubleshoot the issue with the proper response to customer is there any code fixes</agent_instructions>

Comments on the Issue (you are @copilot in this section)

Custom agent used: CoE Custom Agent
Specialized agent for triaging and fixing issues in the CoE Starter Kit. Always consult the official CoE docs and the team’s SharePoint notes first, then mine prior GitHub issues and the CoE Common Responses playbook.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…ionName, and displayName

Co-authored-by: AmarSaiRam <220305901+AmarSaiRam@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix SYNC HELPER flow failures in Default Environment Fix SYNC HELPER - Cloud Flows parse failures on null connection properties Dec 23, 2025
Copilot AI requested a review from AmarSaiRam December 23, 2025 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CoE Starter Kit - BUG] SYNC HELPER - Cloud Flows

2 participants