cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Christoph
Microsoft
Microsoft

Power Automate how to use action parameters with @ in name

Hey Community,

At the moment I try to implement a Flow, which should trigger the Dataverse Function "CalculateRollupField" via a custom connector. (see blog article: https://www.powerappsguy.com/blog/Use-Power-Automate-Flows-to-Calculate-Rollup-Fields/).

 

API Call: https://[YOUR_ORG].crm4.dynamics.com/api/data/v9.1/CalculateRollupField(Target=@target,FieldName=@fieldname)?@target={'@odata.id':'[your_entity]([your_recordid])'}&@fieldname='[your_fieldname]' 

 

When I try to use the custom connector in Flow I retrieve the following error:

Request to XRM API failed with error: 'Message: Flow client error returned with status code "BadRequest" and details "{"error":{"code":"TemplateValidationError","message":"Die Flowvorlage für die Logik-App des Flows war ungültig. Unable to parse template language expression 'target': expected token 'LeftParenthesis' and actual 'EndOfData'."}}". Code: 0x80060467 InnerError: '.

 

For me it seems the "@" in the action parameter names is the reason for the error, because its a reserved in the flow expression syntax.

 

Screenshot 2021-01-20 173619.png

 

Is there any way to use Actions with such a naming, because Dataverse web api requires such a query string pattern?

2 REPLIES 2
annazurawska
Frequent Visitor

Hi @Christoph ,

I'm facing the same issue... Did you find some solution?


GunnarGantzel
Regular Visitor

I'm facing the same issue... 

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (62,608)