Group approval

uma17
Tera Guru

Hi All,

In group approval even though I have selected wait For to "Anyone To approve", when one of the approver approves the Group approval is not getting set to "Approved" state.

Can any one tell me since I have selected "Anyone to approve" this function should be taken care out of the box?OR do I need to set the rest of the approver list to "Approved" by using some code?

Thanks,

Uma

13 REPLIES 13

CAN YOU share your workflow screen shot and activity screen shot


Hi Ashutosh,



It is on the "Demand Form" where I have Group Approval & Approval Tab.I have not designed the workflow for it, using business rule to generate approval activity.



THanks,


Uma


Ohk Then show your logic.


Hi Ashutosh,



I have just added the group using business rule - by creating an object of sysapproval_group.



The group gets added and even the all the approvers in the group gets added to approver tab automatically



                              var   dmapp = new GlideRecord('sysapproval_group');

                                  dmapp.initialize();


                                  dmapp.approval = "requested";


                                  dmapp.parent = current.sys_id;


                                  dmapp.assignment_group = "010b45ba4f40a200029104c85210c7f6";


                                  dmapp .insert();



This inserts the data to Group Approver & Approvers are automatically added to the list without any coding.



Thanks,


Uma


So Now you will require one more BR to check once any one approves then you have to set other approvers to no longer requested.