Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Action "create_a_new_record" failed

(0) ShareShare
ReportReport
Posted on by

Hello, I am quite naive with flow so I apologize ahead of time.  Please let me know if I need to post further details.

 

I have a flow that is to create a new case within our CRM when a "task" is added in Microsoft Planner.

 

imworstatflow.png

 

I am getting the error:

 

')' or ',' expected at position 13 in '(Information Technology Solutions)'.

 

Here is the input and then the output for the "Create a new record" portion:

 

INPUT:

{
 "title": "TEST-PLANNER-NEWCASE",
 "casetypecode": 1,
 "prioritycode": 1,
 "_casetypecode_label": "Problem",
 "_customerid_value": "Information Technology Solutions",
 "_customerid_type": "accounts",
 "_caseorigincode_label": "",
 "_prioritycode_label": "Normal",
 "merged": false,
 "activitiescomplete": false,
 "blockedprofile": false,
 "_incidentstagecode_label": "Default Value",
 "checkemail": false,
 "customercontacted": false,
 "decremententitlementterm": true,
 "isdecrementing": false,
 "firstresponsesent": false,
 "_firstresponseslastatus_label": "In Progress",
 "followuptaskcreated": false,
 "isescalated": false,
 "adx_publishtoweb": false,
 "_messagetypecode_label": "",
 "_resolvebyslastatus_label": "In Progress",
 "routecase": true,
 "_customersatisfactioncode_label": "",
 "_contractservicelevelcode_label": "",
 "_servicestage_label": "",
 "_severitycode_label": "Default Value",
 "_statuscode_label": ""
}

 

OUTPUT:

{
 "status": 400,
 "message": "')' or ',' expected at position 13 in '(Information Technology Solutions)'.",
 "source": "itsolutionsco.crm.dynamics.com",
 "errors": [],
 "debugInfo": "clientRequestId: b43faae3-11a8-4afe-a284-14692df4f983"
}

 

 

Am I missing something simple here?  Any assistance is greatly appreciated, I look forward to your reply.

 

Best,

 

Jreamz

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: Action "create_a_new_record" failed

    Hey all, I would like to note that I was able to get this resolved - The customer and owner just ended up needing a GUID, which I just put in statically. See screenshot below:

     

    flowfinal.png

     

    I appreciate everyone's input and assistance.  Best wishes for the holidays!

     

    Regards,

     

    Jreamz

     

  • Community Power Platform Member Profile Picture
    on at
    Re: Action "create_a_new_record" failed

    After testing some other options, I've been thinking my filter query is incorrect.  What are your thoughts?

     

    flow6.png

  • Community Power Platform Member Profile Picture
    on at
    Re: Action "create_a_new_record" failed

    Yes it is related to the "Accounts" parent object, I believe.  I'll go ahead and explore two parameters in that field and let you know how it goes!  Thanks again.

  • MattWeston365 Profile Picture
    1,701 on at
    Re: Action "create_a_new_record" failed

    Is the customer field a related field? I suspect that it wants an ID and a Value, so you might have to provide two parameters into that field.

  • Community Power Platform Member Profile Picture
    on at
    Re: Action "create_a_new_record" failed

    Hello @MattWeston365 I appreciate your timely reply!

     

    Please, see requested screenshot:

     

    flow5.png

     

    Let me know if I need to show "advanced options".

     

    Best,

     

    Jreamz

     

     

  • MattWeston365 Profile Picture
    1,701 on at
    Re: Action "create_a_new_record" failed

    Hi @Anonymous I haven't got a clue when it comes to CRM, but I'll see if I can help to spot the error in the automation. Can you please post a screenshot of the Create Record configuration? I suspect it's an issue with one of the pieces of information, but that will hopefully assist. If not I'll call in the cavalry!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1