How to add list of approver details on RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2024 04:07 AM
Hi Team,
how to add list of approvers on ritm as a single comment
or anyway to inform about approver to the end user that request is pending with so on so approver
please advice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2024 05:29 AM
I mocked something up in Flow Designer for you:
Flow Variable: "commentString" (string data type)
1. Ask for the approval
2. Look up Approval records where "Approval For" = triggering RITM.
3. For each of (2)
4. Set Flow Variable "commentString" = commentString (3.Name),
--- essentially "set this to whatever it was before add a space, then grab the approver's name from whatever iteration you're on, then add a comma and a space. Remember, this isn't javascript its just raw string generation, so don't worry about using + to join the strings or anything.
5. Update Record (triggering RITM)
--- comments = The following approvers were asked: commentString
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2024 08:09 PM - edited 12-22-2024 08:38 PM
Hi @Uncle Rob
4. Set Flow Variable "commentString" = commentString (3.Name),
--- essentially "set this to whatever it was before add a space, then grab the approver's name from whatever iteration you're on, then add a comma and a space. Remember, this isn't javascript its just raw string generation, so don't worry about using + to join the strings or anything.
could you please explain above step briefly so that i can store approval name and approval email
Thanks for response i followed below flow which is created on approval table when approval record is inserted,
and i am created custom field "Addition of comment" check box on approval table using it whenever record fetches data from one approval record which is used in 8th step making this field as true by using update record action
but in my case with same approver name and mail the comment is populating 3 times as 3 approval present for ritm so please suggest how to bring all the approval name and email on one time in one comment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2024 05:59 AM
@Ramu8 wrote:
Hi @Uncle Rob
4. Set Flow Variable "commentString" = commentString (3.Name),
--- essentially "set this to whatever it was before add a space, then grab the approver's name from whatever iteration you're on, then add a comma and a space. Remember, this isn't javascript its just raw string generation, so don't worry about using + to join the strings or anything.
could you please explain above step briefly so that i can store approval name and approval email
Sure. It'll look a little like this
The first thing is to put the Flow Variable itself into the Data. That will ensure through the loop it will just keep adding stuff to itself. Then add a space, then add the Approver's Name space-dash-space Approver's email. You just drag those values from your data picker on whatever node your For Each Item is on.
Then end with a comma.
At the end of the loop it will look something like.....
bob loblah - bob.loblah@bingobangobungo.com, jorgen bjorgen - jorgenbjorgen@bingobangobungo.com, juan carlos chung - jcchung@bugnostroclumfanclub.com, chad broski - chadbroski@alphachadbro.ru, etc etc