How can I set the short Description field on an group approval

spollock
Tera Contributor

I have a service catalog workflow that triggers a group approval.   When the approver goes into the catalog item to the group approval tab the short description is blank.   How can I populate that ?

Screen shot.

Thanks

Sally

find_real_file.png

4 REPLIES 4

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

Sally, the Approval - Group workflow activity definition record is the script that is creating sysapproval_group record from the workflow.   I wouldn't recommend editing that out of the box code, but you could create a business rule on this table that populates the short description on insert.   There is a hidden attribute on task called wf_activity that is a reference to the workflow activity that is associated/created the task.   You can leverage that to say set the short description to the name of the activity.


find_real_file.png


find_real_file.png



find_real_file.png


RudhraKAM
Tera Guru

you need to do that in your work flow , open the workflow catalog task and   click on the advance check mark and mention


task.short_description = "any thing ";find_real_file.png


Unfortunately I believe you misunderstood the question because this won't work.   When you use the approval group activity, a sysapproval_group record gets created, which is basically a task record that is assigned to the group requiring approval.   ServiceNow will then loop through the members of that group and create individual approval records for it.   The OP was asking how to set the short description of the sysapproval_group record and not a normal task created via workflow.


Dharshan N B
Tera Expert

Hi @Michael Ritchie ,
How to achieve this in flow designer. Please let us know 
Regards,
Dharshan N B