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.

Change Task showing state value in number

karthikbabu
Giga Expert

Hi All,

 

I have made a dependency for change task state value to a custom field.

custom field - value Approve                                         State - Value Closed Complete.

When I try to close a change task, after saving the state value is showing "3" instead of "Closed Complete"

find_real_file.png

Please suggest.

 

Thanks.

1 ACCEPTED SOLUTION

So you're saying in a new record or one that hasn't been saved, etc. it shows the state value correct? But upon saving...it changes to a number, specifically 3?

If so, then you need to check your Client Script for an onSubmit and see if something is writing that to the field or a business rule for that table that could be doing that.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

5 REPLIES 5

Branden Wright
Kilo Contributor

I had this issue and it was due to a default setting for the "State" field on the Task table.  If you need to keep the default setting, you can create a "Dictionary Override" that only applies to that specific table.

Thanks for response Branden.

 

I created a dictionary override and it didn't worked. please see below images.

find_real_file.png

 

I can still see the state value as 3 instead of closed complete.

 

Thanks,

Karthik

So you're saying in a new record or one that hasn't been saved, etc. it shows the state value correct? But upon saving...it changes to a number, specifically 3?

If so, then you need to check your Client Script for an onSubmit and see if something is writing that to the field or a business rule for that table that could be doing that.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi Allen,

 

yes, You are correct.I have a client script to remove option closed complete which is over riding the dependency I created.

 

Thanks,

Karthik