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
abm
Super User III
Super User III

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 III
Super User III

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.

abm
Super User III
Super User III

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,948)