cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
psbabu
Helper III
Helper III

FullTextSearchKnowledgeArticle

Hi All,

 

I am trying to retrieve KBA using 'FullTextSearchKnowledgeArticle' Action using unbound action in ms flow. Here, how can give below payload in QueryBase.?

kba.PNG

 

Also when I tried in API Tester,getting below error

"message": "The ConditonOperator.Equal requires 1 value/s, not 0. Parameter Name: LanguageLocaleId",
Sample payload:-
{
"SearchText": "Test",
"UseInflection": false,
"RemoveDuplicates": false,
"StateCode": 3,
"QueryExpression": {
"@odata.type": "Microsoft.Dynamics.CRM.QueryExpression",
"EntityName": "knowledgearticle",
"ColumnSet": {
"AllColumns": true
},
"Distinct": false,
"NoLock": false,
"PageInfo": {
"PageNumber": 1,
"Count": 10,
"ReturnTotalRecordCount": true,
"PagingCookie": ""
},
"LinkEntities": [],
"Criteria": {
"FilterOperator": "And",
"Conditions": [
{
"EntityName": "knowledgearticle",
"AttributeName": "languagelocaleid",
"Operator": "Equal",
"Values": [
"56940B3E-300F-4070-A559-5A6A4D11A8A3"
]
}
]
}
}
}
 
kba1.PNG
1 ACCEPTED SOLUTION

Accepted Solutions

Hi @psbabu 

 

Thanks for your reply. Generally error  indicate that you need to set the value of the condition attribute. Here I can see that you already set this.

 

"Conditions": [
{
"EntityName": "knowledgearticle",
"AttributeName": "languagelocaleid",
"Operator": "Equal",
"Values": [
"56940B3E-300F-4070-A559-5A6A4D11A8A3"
]
}

 

Believe the languagelocaleid identifier is GUID which you defined under the values?

 

I suggest you to remove the above condition and check whether it returns the same error or not?  Then we could concentrate on the condition next.

 

Let me know how it goes.

 

Thanks

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

3 REPLIES 3
abm
Super User
Super User

Hi @psbabu 

 

Do you need to specify "LinkEntities": []? Try removing this line as see if that works or not.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Yes,Not required "LinkEntities": []. I have removed. Still same error.

Hi @psbabu 

 

Thanks for your reply. Generally error  indicate that you need to set the value of the condition attribute. Here I can see that you already set this.

 

"Conditions": [
{
"EntityName": "knowledgearticle",
"AttributeName": "languagelocaleid",
"Operator": "Equal",
"Values": [
"56940B3E-300F-4070-A559-5A6A4D11A8A3"
]
}

 

Believe the languagelocaleid identifier is GUID which you defined under the values?

 

I suggest you to remove the above condition and check whether it returns the same error or not?  Then we could concentrate on the condition next.

 

Let me know how it goes.

 

Thanks

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,393)