web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Get Value from Json Ou...
Copilot Studio
Unanswered

Get Value from Json Output in Copilot studio

(0) ShareShare
ReportReport
Posted on by 8

Hi,

 

I am really struggeling with Parsing a value from a JSON output from a connector. 

I try to get the values of the property name "value" from the property "CreatedDateTime".

Tobias_Brouwer_0-1709900537699.png

 

When I use the Set Variable and I enter a Formula I get this error. 

Tobias_Brouwer_1-1709900688776.png

 

How to fix this? 

Categories:
I have the same question (0)
  • adilei Profile Picture
    on at

    Can you paste the JSON payload here as text?

  • Tobias_Brouwer Profile Picture
    8 on at

     

    { "@odata.deltaLink": null, "@odata.nextLink": null, "value": [ { "body": "<html>, "categories": [], "createdDateTime": { "$kind": "DateTimeNoTimeZoneDataValue", "value": "2024-02-29T09:17:48.2574022Z" }, "end": { "$kind": "DateTimeNoTimeZoneDataValue", "value": "2024-03-04T10:30:00.0000000Z" }, "endWithTimeZone": { "$kind": "DateTimeNoTimeZoneDataValue", "value": "2024-03-04T10:30:00.0000000Z" }, "iCalUId": "040000008200E00074C5B7101A82E0080000000050EC6A82F86ADA010000000000000000100000008D7C54BC53E2D545B9D1F7BF04CB1ED9", "id": "AAMkADY5MWIwMGJkLWQzNTgtNGRmNS1iZTk1LWQ2MmY4MGQ1YzVlYwBGAAAAAABM367r9ZRQTa3Pe5S1LmZ3BwBcdMM2Dp4CTLwdTujvm8bqAAAAAAENAABcdMM2Dp4CTLwdTujvm8bqAAJ3DhZNAAA=", "importance": "normal", "isAllDay": false, "isHtml": true, "isReminderOn": false, "lastModifiedDateTime": { "$kind": "DateTimeNoTimeZoneDataValue", "value": "2024-02-29T09:17:50.4076005Z" }, "location": "", "numberOfOccurences": null, "optionalAttendees": "", "organizer": "t.brrmaris.nl", "recurrence": "none", "recurrenceEnd": null, "reminderMinutesBeforeStart": 15, "requiredAttendees": "t.bteis.nl;", "resourceAttendees": "", "responseRequested": true, "responseTime": { "$kind": "DateTimeNoTimeZoneDataValue", "value": "0001-01-01T00:00:00.0000000Z" }, "responseType": "none", "selectedDaysOfWeek": null, "sensitivity": "normal", "seriesMasterId": null, "showAs": "busy", "start": { "$kind": "DateTimeNoTimeZoneDataValue", "value": "2024-03-04T09:30:00.0000000Z" }, "startWithTimeZone": { "$kind": "DateTimeNoTimeZoneDataValue", "value": "2024-03-04T09:30:00.0000000Z" }, "subject": "Voeg", "timeZone": "UTC", "webLink": "https://outlooDY5MWI" }}
  • adilei Profile Picture
    on at

    This JSON is not valid. Not sure if that is the issue, but it means that I'm not able to test anything.

  • Tobias_Brouwer Profile Picture
    8 on at

    {
    "@odata.deltaLink": null,
    "@odata.nextLink": null,
    "value": [
    {
    "body": "<html>",
    "categories": [],
    "createdDateTime": {
    "$kind": "DateTimeNoTimeZoneDataValue",
    "value": "2024-02-29T09:17:48.2574022Z"
    },
    "end": {
    "$kind": "DateTimeNoTimeZoneDataValue",
    "value": "2024-03-04T10:30:00.0000000Z"
    },
    "endWithTimeZone": {
    "$kind": "DateTimeNoTimeZoneDataValue",
    "value": "2024-03-04T10:30:00.0000000Z"
    },
    "iCalUId": "040000008200E00074C5B7101A82E0080000000050EC6A82F86ADA010000000000000000100000008D7C54BC53E2D545B9D1F7BF04CB1ED9",
    "id": "AAMkADY5MWIwMGJkLWQzNTgtNGRmNS1iZTk1LWQ2MmY4MGQ1YzVlYwBGAAAAAABM367r9ZRQTa3Pe5S1LmZ3BwBcdMM2Dp4CTLwdTujvm8bqAAAAAAENAABcdMM2Dp4CTLwdTujvm8bqAAJ3DhZNAAA=",
    "importance": "normal",
    "isAllDay": false,
    "isHtml": true,
    "isReminderOn": false,
    "lastModifiedDateTime": {
    "$kind": "DateTimeNoTimeZoneDataValue",
    "value": "2024-02-29T09:17:50.4076005Z"
    },
    "location": "",
    "numberOfOccurences": null,
    "optionalAttendees": "",
    "organizer": "t.brrmaris.nl",
    "recurrence": "none",
    "recurrenceEnd": null,
    "reminderMinutesBeforeStart": 15,
    "requiredAttendees": "t.bteis.nl;",
    "resourceAttendees": "",
    "responseRequested": true,
    "responseTime": {
    "$kind": "DateTimeNoTimeZoneDataValue",
    "value": "0001-01-01T00:00:00.0000000Z"
    },
    "responseType": "none",
    "selectedDaysOfWeek": null,
    "sensitivity": "normal",
    "seriesMasterId": null,
    "showAs": "busy",
    "start": {
    "$kind": "DateTimeNoTimeZoneDataValue",
    "value": "2024-03-04T09:30:00.0000000Z"
    },
    "startWithTimeZone": {
    "$kind": "DateTimeNoTimeZoneDataValue",
    "value": "2024-03-04T09:30:00.0000000Z"
    },
    "subject": "Voeg",
    "timeZone": "UTC",
    "webLink": "https://outlooDY5MWI"
    }
    ]
    }

  • MattMMeyer Profile Picture
    6 on at

    Working on the same issue, any movement?

  • jga_lu Profile Picture
    on at

    Same, I'm interested too

  • adilei Profile Picture
    on at

    I would raise a case with support, as First(topic.myVar.value).createdDateTime is parsed as a DateTimeNoTimeZone, and Copilot Studio does not seem to be able to convert this type to any other type.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard