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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to Set a Dynamics ...
Power Automate
Unanswered

How to Set a Dynamics Choice Field?

(0) ShareShare
ReportReport
Posted on by 67

Hello, 

 

I have a flow that triggers when a folder in Sharepoint is created. Once that folder is created, the goal is to create a Prospect (Lead) record in Dynamics 365 which is connected to the Dataverse. The prospect record has 2 mandatory choice fields: Country & Project Type

 

The flow is running successfully, but no record is being created.

My Flow: 

Trying to get Value of CountryTrying to get Value of Country

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Trying to get Value of Project Type & Create recordTrying to get Value of Project Type & Create record

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

After creating a Folder called Test under Facility Management / Qatar, no row is being added to the Prospects table in the Dataverse:

 

3.PNG

 

4.PNG

 

Can someone please help? 

Categories:
I have the same question (0)
  • srduval Profile Picture
    1,760 Moderator on at

    That last apply to each source array doesn't have any records, so the apply to each 2 inside of it doesn't run. Which is probably why the record isn't being created. 

  • Joseph Nasr Profile Picture
    67 on at

    I did notice that. Do you think the 2 List Rows are not returning anything which is why That last apply to each source array doesn't have any records?

  • okeks Profile Picture
    802 Super User 2024 Season 1 on at

    Which datatype is the field "attributename" in Dataverse?

  • Joseph Nasr Profile Picture
    67 on at

    I saw the solution that I'm trying in which 'attributename' was used on a forum post. I tried to check its type but for some reason table "String Maps" that's appearing in the flow is not appearing in the dataverse tables. Do you think that's causing the issue?

  • srduval Profile Picture
    1,760 Moderator on at

    I think "attributename" was a generic placeholder for the field name as it exists in your record. Its a [insert value here] situation. I would do a list rows with no filter first that will then tell you the column names you're dealing with. After you find the column you want to filter on, copy that header and replace attributename.

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard