Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Workflow assigned group variable

Averyy
Tera Contributor

Hello,

 

I have not worked a workflow as of now, however I am being asked to change a current error happening within my company change request workflow process.

 

As of now when a change request is submitted, the CHG is moved into approval mode in which the assigned group is the approval group. Once the CHG is approved it is moved to scheduled -> implement and so forth....

 

When it gets to scheduled -> implementation phase the assignment group goes back to the original approval team which messes up the ctask assignment group...

 

I want to change the assignment group to whatever group is decided as where the CHG will go to without is going back to the approval team...

 

Screenshots below is a screen shot of the workflow as well as the workflow task (workflow task is the schedule, implementation, post- implementation) task are...

 

 

 

1 REPLY 1

Brad Bowman
Kilo Patron
Kilo Patron

The assignment group on the change request record could be altered by this workflow, or a Business Rule on the change_request table.  Check set values or scripts in each activity in the workflows for the appearance of

 current.assignment_group=...

In a Business Rule you would be looking for Set Actions or more likely a script that sets the assignment group to the approval group when the state changes to implement.