
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2017 11:33 PM
Hi Guys,
Let me know how to get mandatory approvals from two people in a workflow and until the two of them approve, it should be 'Requested' and once both of them approve then only it should be 'No longer required'. If the first person has approved, still it should be in Requested state until one more person approves and then no longer required.
How do I achieve this from a workflow ?
Thanks,
Utkarsha Saxena
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2017 12:19 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2017 09:24 AM
Can you try with Approval User activity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2017 02:07 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2017 02:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2017 05:11 AM
Hi,
There are 2 methods.
1) You need to use Approval User activity (if there is only a single group is involved). My script will work in this method. You are currently using Approval Group.
2) You need to use Approval Group activity (if there are multiple groups are involved). In this case try following script
var id=0;
for (var id in groups) {
var group = groups[id];
if ( group.approved ==2)
{
answer='approved';
}
}
Plz set the for loop depending on number of groups involved.
Raj

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2017 03:05 AM
Hi Raj,
Yes I made that script on approval user activity and it worked. Thanks a lot. Now this works for me as well ! Appreciate all the help and patience !
Regards,
Utkarsha