Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

TIME CRITICAL Getting choice values from Sharepoint List and set option set value in Dynamics 365

(0) ShareShare
ReportReport
Posted on by 6

Hello guys, 

 

I am creating a flow when SP list record was created -> to create Dynamics 365 record. I am struggling with getting choices from SharePoint choices and set them as option set in Dynamics 365 CRM. 

 

Example: I have choice field in SP called Incident Type. Which is: Injury, Incident, Near Miss. In Dynamics 365 CRM I have same values. To set a value in CRM I will need to do a mapping. I`ve implemented same thing with Microsoft Forms and this is an example, which I was trying to use with SP -> CRM. 

Jana_St_0-1676474225464.png

But for some reason, when I am using the same method in a new flow, I am getting error:

Jana_St_2-1676474563584.png

 

Unable to process template language expressions in action 'Select' inputs at line '0' and column '0': 'The template language function 'json' parameter is not valid. The provided value 'Injury' cannot be parsed: 'Unexpected end when reading JSON. Path '', line 1, position 6.'. Please see https://aka.ms/logicexpressions#json for usage details.'.

 

 

  • jana_stefanskaja Profile Picture
    6 on at
    Re: TIME CRITICAL Getting choice values from Sharepoint List and set option set value in Dynamics 365

    Additional details, which i get as json: 

     

    "body":{
    "@odata.etag":"\"1\"",
    "ItemInternalId":"15",
    "ID":15,
    "Title":"222222",
    "IncidentType":{
    "@odata.type":"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
    "Id":0,
    "Value":"Injury"
    },
    "IncidentType#Id":0,

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow