Set Category and Sub-Category in a Custom Script

Set Category and Sub-Category in a Custom Script

I have ran into an issue of not being able to set the category and subcategory for a ticket using custom scripting in form rules.

I have created a category "Network" and Subcategory "Wireless", and I am currently running the following code to no success.

CS.setValue("category", "Network")
CS.setValue("subcategory", "Wireless")

I know this can be done using the built in form rules GUI, but I need to be able to do this in a custom script.

Has anyone been able to do this?

                  New to ADSelfService Plus?