State showing Integer Value

snowuser111
Kilo Guru

Hi experts,

 

Please help why this change task state shows an integer value. It should also show as 'Open' like the first change task.

Attached snap shot. But when the forst change task is closed it reflects to 'Open'. Why during genretaing it shows -5 ?

Can anyone plz help

Thanks.

change task_state.jpg

1 ACCEPTED SOLUTION

you have the WF creating the tasks in series the 2nd task will be set with state= Pending (-5) and will be waiting for the first to be closed. Seen this issue on Demo instance so i guess it a configuration miss in Dublin


I you need to create a Value(-5) + Label in the choice list for change (or task).


View solution in original post

7 REPLIES 7

danielbilling
Kilo Guru

most likely a value set be a script and is missing a corresponding choice value/label


similar case in this post


Servicenow changes state to "(1)"


But why the first change task is showing correct Display as 'Open' ?


This is getting triggered from Workflow. by activity- > Create Task


Can you help on this plz


create-task-wf.jpg




Check the default values in the for State i ´for change task dictionary and check the Create tasks activities in workflow to verify if there are any default values set  


Hi Daniel,


The first activity - Create task is ok, If I am using the same activity , it should have the same feature?


I just added two conditions for completion and failure.



Thanks