- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2015 07:15 AM
Hi,
I have a Inbound action to approve or reject a change ticket via email and the Inbound action is on sysapproval table. When a user responds to the email to approve/reject a change (Group approvals activity) only one record gets updated to Approved and rest remain in Requested status. Can anyone let me know what could be the issue?
Thanks,
Vamsee.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2015 12:06 AM
Hello Vamsee,
In group approval activity, your script should be;
answer = 'Group sys_id' ;
It will send approval mails to all the approvers,
Please check and confirm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2015 03:40 AM
Hi Gurpreet,
Replacing it with the User activity works fine but does not populate the Group details in the Group Approvals tab which is required for us.
Thanks,
Vamsee.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2015 04:13 AM
Getting an Error message "ClassUtil - class not found: com.glide.processors.xmlhttp.DDTaskAjax: no thrown error"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2015 05:34 AM
Hello Vamsee,
in the 'Approval User' activity, try below code to get all the members of the groups whom you want to send an approval mail.
Check if it works for you.
answer = [];
var gr = new GlideRecord('sys_user_grmember');
gr.addQuery('group','sys_id'); //here pass on the sys_id of the group
gr.query();
while(gr.next())
{
gs.log('Group member: ' + gr.user.getDisplayValue()); //to check how many users are there and whether are listed under log
answer = gr.user + ',' + answer;
}
gs.log('GroupMembers: ' + answer); //array of users whom approval mail to send
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2015 06:24 AM
Hi Deepak,
I am able to send mails to users, what is not working is Inbound action to approve or reject.
Thanks,
Vamsee.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2015 07:22 AM
is it the same thing with method ('approval user') activity?
Please analyze the inbound mail for approval which are not being applied. check whether 'approval inbound action has been processed or skipped for that particular email.
if it is not processed, then you need to figure that out.
can you provide some screen captures?