Flow designer - how to get approval's comments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2021 08:08 AM
Hello All,
I have a basic approval flow in Flow Designer:
- If approved do this
- If not approved do that
Do you know if it is possible to"get" or "lookup" the approval's (or rejection) comments?
I'd like to update the record (in this case the "additional comments" of the requested items with the comments of all approvers.
Thanks.
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2021 09:22 AM
It will give you last comment
current.comments.getJournalEntry(1);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2021 01:25 PM
Thank you for your reply, but I don't think this will do the trick.
I have a catalog item, when it is requested a first approval flow is triggered.
The request for approval goes to a team of 2 colleagues and they both have to approve in order for the request to move to the second stage.
What I would like to achieve is inject via "Additional Comments" in the flow step number 8 (Update requested item Record) the comments that I can find in each approval request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2021 01:52 PM
I think I am overcomplicating things.
I can leverage the "Approval History" filed in the sc_req_item table.
It works if the comments is added via system
It doesn't seem to work if the approval/rejection comes via email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2021 11:50 AM
Hi Alessandro,
Were you able to figure this out? I tried copying the Approval History to Task Description and I still dont see comments field that comes from approval/rejection activity.
Thanks,
Johnny