I am trying to use power automate to relate knowledge articles to work orders in Field Service. My flow is working as expected all the way up to the Relate Rows action. This is how it is supposed to work:
-When a service task gets added to a work order, I would like the flow to get the type of service task that was added, and look for a knowledge article with a title matching the name of the service task type. If there is a match, I want that knowledge article to then be associated with that work order.
I have tried many different actions and configurations, but the most common error I experience is: Bad Request - Error in query syntax.
I can see the inputs are retrieving the correct data (correct work order and knowledge article), so I am not sure why the flow fails to relate them each time. Any suggestions would be greatly appreciated!