how to get approvers in catalog task form

rudra8
Kilo Contributor

Hi all,

   created a workflow for a service catalog.  created  a catalog task  using catalog task workflow activity after  getting approvals at ritm level.

in catalog task form mentioning assignment group as "Fulfillment  gROUP".  i want to display assignment group members as Approvers in approvers tab.how to acheive this . please advice.

 

 

4 REPLIES 4

Apurva Malewad1
Kilo Guru

Hi,

For this you can use approval group activity in workflow for sending approval to catalog task approvers tab using related fields option in group field of workflow approval group activity.See the attachment,it will be clear:

 

Please mark my answer as correct/helpful if it helps you to find the solution.

 

Thanks and Regards,

Apurva Malewadikar

www.DXSherpa.com

rudra8
Kilo Contributor

hi i written code  , dont have much knowledge on scripting please check it

var app = new GlideRecord('sysapproval_approver');
app.addQuery('sysapproval',current.sys_id);
app.addQuery('state',"approved");
app.query();
if (app.next()){
app.approver=task.assigned_group;
}

b

 i am using different group in catalog task(sc_task) form   for eg: assignment group =fulfillment group

 an in that group 3 group members are there . these 3 members should visible at approver tab to approve the task.

 

Hi Rudra, The stated requirement is fundamentally incorrect from the standards we generally follow. Task is an action item for an individual to perform however RITM is item which needs one or more action item to perform. However, I have seen weirdest of requirements 😋 Now, about requirement, how you can have similar approval list in take along? - create a workflow on sc_task table, give it a proper condition to start(for example it should only start to specific catalot item) - workflow should have an group approval activity, so flow would be begin - group approval activity - end. - on approval activity, click on advance and in script field type, answer = 'group sys I'd); Lastly, open any record from sc_task table, click on top header, then configuration and then related list.ove approval from left to right and save it.

where can it apply