What are the values of SC_TASK "State"?

SN_2023
Tera Contributor

Hi,

I am updating the Service Catalog TASKS from Excel 2019 (64 bit) using REST API. I am able to do updates. But I am facing some difficulties in updating "State" field. I like to know how to supply the values to the "State" field. Should we send as Integer format or as string format?

0 - Pending

1 - Open

2 - Work In Progress

3 - Closed Complete

4 - Closed InComplete

5 - Closed Skipped

 

I see the list values in the combo box of State field as above (only strings not numbers). Should I sent as Numbers as 0, 1, 2, etc or should I send as String like "Open", Work In Progress", etc. Is String a case sensitive?

 

Where to find the "State" Values?

 

Kindly help me to resolve this issue.

 

Thank you all.

2 ACCEPTED SOLUTIONS

Prince Arora
Tera Sage
Tera Sage

@SN_2023 

 

You need to send the integer values, for checking the backend values of state just right click on state field on the form and click on "show choice lists"

 

PrinceArora_0-1696865502108.png

PrinceArora_1-1696865596123.png

 

Note: Please check the state values at your instance, might be someone has updated it

 

If my answer solved your issue, please mark my answer as  Correct & 👍Helpful based on the Impact.

 

 

 

 

View solution in original post

Sandeep Rajput
Tera Patron
Tera Patron

@SN_2023 Here are the values for the state field.

Screenshot 2023-10-09 at 9.08.50 PM.png

Also, you can find the state values using the following steps.

1. Right click on the state field and choose config dictionary.

Screenshot 2023-10-09 at 9.06.12 PM.pngScreenshot 2023-10-09 at 9.07.00 PM.png

On the list, apply the filter Element is state and table is task (SC task inherits from task table)

Screenshot 2023-10-09 at 9.11.31 PM.png

Hope this helps.

View solution in original post

7 REPLIES 7

Prince Arora
Tera Sage
Tera Sage

@SN_2023 

 

You need to send the integer values, for checking the backend values of state just right click on state field on the form and click on "show choice lists"

 

PrinceArora_0-1696865502108.png

PrinceArora_1-1696865596123.png

 

Note: Please check the state values at your instance, might be someone has updated it

 

If my answer solved your issue, please mark my answer as  Correct & 👍Helpful based on the Impact.

 

 

 

 

Done. Thank you so much..

Sandeep Rajput
Tera Patron
Tera Patron

@SN_2023 Here are the values for the state field.

Screenshot 2023-10-09 at 9.08.50 PM.png

Also, you can find the state values using the following steps.

1. Right click on the state field and choose config dictionary.

Screenshot 2023-10-09 at 9.06.12 PM.pngScreenshot 2023-10-09 at 9.07.00 PM.png

On the list, apply the filter Element is state and table is task (SC task inherits from task table)

Screenshot 2023-10-09 at 9.11.31 PM.png

Hope this helps.

Thank you for resolving the issue.