Forum Discussion
Add Check In Comment to Automated Email After Status Change
- Jul 12, 2023
Tracky You have to use the value from outputs of HTTP request to SharePoint action instead of body. Then it should work for you.
You can also use the expression for such requirements like:
body('Send_an_HTTP_request_to_SharePoint')?['value']
Example:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
ganeshsanap Unfortunately it's still not working. I'm currently not receiving emails at all. Screenshots below -
Does the syntax in Send an HTTP request appear correct? Do I need to enter something in the Body field under Send an HTTP request to SharePoint?
Tracky I think you are missing "/" before CheckInComment in Uri.
Try using Uri like:
_api/Web/GetFileByServerRelativeUrl('<fileURL>')/CheckInComment
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- TrackyJul 13, 2023Copper Contributor
ganeshsanap Got it working! Thank you very much for your help.