Rejection Workflow Flow
I am attempting to create a custom workflow that sends an email to Last Modified user with the comments for why they were rejected. How do I get the Last Modified User? I do have a function that gets all the Last Modified By within the revision history, but I only want the last modified by who was last to edit the item. Also, how can I get the Comments posted by the user who rejected the item (Pages, News, etc.).
We answered your question in this forum post.
If you would like to get the comments for this user.
To get the comments refer to this doc article.
I hope you find the above solution useful.