cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
baller72
Level: Powered On

the method 'run' has an invalid value for parameter getitems_filterquery

Hi guys:

 

I am trying to edit/update my list but getting this error. 

I followed one of the solution here by placing this in "OnSuccess" instead of "OnSelect" after SubmitForm().

Another thing, what really should be in LastSubmit? Sorry guys I am a novice.

 

image20.png

1 REPLY 1
Super User
Super User

Re: the method 'run' has an invalid value for parameter getitems_filterquery

Hi @baller72 

LastSubmit contains the details of the last record that you submitted through your form.

If you want to send the last submitted details to your Flow, the OnSuccess property is the correct place to call your Flow.

I suspect the reason why you receive this error is because 'Content approval Status' is a choice field.

In your call to SalesDealApprovalFlow.Run, if you type a '.' symbol after 'Content approval Status' , do you see any additional properties, such as  'Content approval Status' .Value? If so, I would change your call to include the property identifier that you see.

SalesDealApprovalFlow.Run(FormApproveReject.LastSubmit.ApproverEmail,
FormApproveReject.LastSubmit.'Content approval Status'.Value
)

 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Kudoed Authors
Users Online
Currently online: 296 members 6,280 guests
Please welcome our newest community members: