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.

Changing the Stages

rburgering
Kilo Contributor

Hi,

In the Service Catalog - Request Items a 'Stage' field is available. This stage field is used to represent the Workflow. This Workflow seems always to start with 'Waiting for Approval' , even if no approval was necessary or if an approval is still to come (on task level).

What I would like to do: replace 'Waiting for approval' for 'Submitted'.

What I did:
- Changed the message in System UI (no luck);
- Changed the Choice option for the stage field (no luck).

Anyone any idea on how to target this?

Thanks!

13 REPLIES 13

I don't know that you can change that. I'll need to defer to someone else. Sorry.


The last time I checked on this (a couple of months ago) the first and last values in the stage widgets were hard-coded. I don't think there's anything you can do to modify those at this point.


paul_murphy
Kilo Explorer

Check out the business rule "sc_req_item_stageGetChoices"

Look at this line:
answer.add("waiting_for_approval", gs.getMessage("Waiting for Approval")); // always add this


Thanks Paul.
That is exactly what I needed!!!!

Fantastic.


😞 And now, after the upgrade and the patch(!) this does no longer work: the stage list shows 'Approved' instead of 'Submitted' , no matter what I try to change.

Does anyone know where we can change this now?

Many thanks in advance....