How can I set the short Description field on an group approval
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2018 08:22 AM
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
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2018 08:36 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2018 08:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2018 08:45 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2025 11:19 PM
Hi @Michael Ritchie ,
How to achieve this in flow designer. Please let us know
Regards,
Dharshan N B