How to dynamically display Assignment Group name in Workflow Stage Label?

yana7
Tera Contributor

Hi Community,

I am working on a Service Catalog Workflow and I have a requirement to display the current Assignment Group's name dynamically within the Stage label on the RITM view (Process Flow Formatter).

 

Goal:
I want the stage to read something like: "Fulfillment Waiting for Catalog Task: Network Team" (where "Network Team" is the dynamic group).

 

What I tried:
I attempted to add variables to the Stage Label definition using syntax like ${assignment_group} and [assignment_group].

 

Issue:
As seen in the screenshot, the system does not parse the variable. It renders the syntax as plain text (e.g., it literally shows ${assignment_group} instead of the group name).

 

My Questions:

  1. Does the classic Workflow Stage label support variable substitution?

  2. If not, is there a scriptable workaround to update the Stage label dynamically based on the active task's assignment group?

Any advice or best practices would be appreciated!

Thanks.

yana7_0-1770093752915.png

 

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@yana7 

could you please share where you used ${assignment_group} in workflow? what config?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Yes in workflow, for specific maintain items,

On Stage label

yana7_0-1770099268177.png

 

@yana7 

that's not going to work

So it's not possible

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Then what should I do? To achieve my goal, please help me.