
Announcements
Hi, I am trying to integrate d365 F&O with power automate. I am using the execute action connector, and following using the article to make the setup: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/business-events/how-to/how-to-workflow However I am getting an error: The API operation 'ExecuteProcedure' requires the property 'body/value' to be of type 'Object' but is of type 'String'. This is being generated from WorkflowWorkItemEntity. method executeAction which is expecting an object type but from power automate we are passing WorkflowWorkItemInstanceId, which is a string type and is not allowing any other type. So is there any other way by which I can achieve the functionality? Any response is much appreciated. Thanks in advance
Hi @avisha53 ,
Could you share with us the screenshot of your configuration and error step?
According to the document, WorkflowWorkItemInstanceId is a string instead of Object.
Have you used the Parse JSON to extract this id, please check this article and get more details about Parse JSON:
http://johnliu.net/blog/2018/6/a-thesis-on-the-parse-json-action-in-microsoft-flow
We need to paste the body of the trigger in sample JSON Payload to generate Schema and fill Body of the trigger in Content of Parse JSON.
Please provide more details so that we could do further analysis.
Best Regards,