-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with Power Automate Parameters #686
Comments
Thanks, I will try to see the problem, and what I can do about it. |
It seems like some of the power automate generated parameters aren't valid if directly copied straight into a Power Automate Flow. For example, the following Fetch XML will generate these Power Automate parameters: But there's a couple of issues with the expand query:
So the expand should be: parentcustomerid_account(),ownerid($filter=Microsoft.Dynamics.CRM.In(PropertyName='name',PropertyValues=['Test','Test2'])) And perhaps a warning about the empty parentheses (or perhaps default it to include a $select with the entity primary key if no attributes have been specified within the fetchxml)? |
I'm not sure this query can be translated properly to Web API. Because the link to the owner is an inner join, simply moving the filter to inside the The conversion moves this filter to the outer <link-entity ...>
<filter type="or">
<condition attribute="name" operator="eq" value="Test" />
<condition attribute="name" operator="eq" value="Test2" />
</filter>
</link-entity> |
Hi
I thought I'd let you know that I had a small issue with the Power Automate Parameters today....
I've attached a screenshot of the query builder - when I viewed the Power Automate Parameters the Expand Query option was as shown below. The link entity that is shaded grey in the screenshot did not get included, instead the one above it was duplicated - I have shown the duplicate entry in bold below.
Obviously I could get around the issue by changing the text in the expand query, but it foxed me for a while - mostly because I have absolutely no training in any of this stuff and am just learning as I go!
I hope that is helpful.
Simon
Expand Query output from View the Power Automate Parameters:
cr47b_Instruction_PrimaryContact_Contact($select=cr47b_instructionref),sls_cr47b_Instruction_KeyholderContact_Contac($select=cr47b_instructionref),sls_cr47b_Instruction_VendorContact_Contact($select=cr47b_instructionref),sls_cr47b_Invoice_InvoicePrimaryContact_Conta($select=cr47b_invoiceref),cr47b_InstructionLegalParty_Contact_Contact($select=cr47b_instructionref),cr47b_InstructionLegalParty_Contact_Contact($select=cr47b_instructionref),cr47b_Invoice_Contact_Contact($select=cr47b_invoiceref),sls_cr47b_Company_Contact_Contact($select=cr47b_name)
The text was updated successfully, but these errors were encountered: