Getting Wrapped Conversion Error:The undefined value has no properties error when trying to create a catalog task through workflow

Gowtham Kodali
Tera Contributor

Hi,

 

When i am tring to create a  catalog task through workflow getting an error 

Create a Task: org.mozilla.javascript.Wrapped ConversionError:The undefined value has no properties 

 

Any solutiion for this

1 ACCEPTED SOLUTION

@Gowtham Kodali 

Did you check the property name is proper?

I could see spaces in between

Is it group _ name or group_name

Also does it contain group sys_id or group name

If sys_id then this is fine

task.assignment_group = gs.getProperty('group_name');

If group name then this should work

task.assignment_group.setDisplayValue(gs.getProperty('group_name'));

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

12 REPLIES 12

Hi,

I would suggest to open a new question for this as this thread is already answered

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Sure, Thanks again!

Hi Ankur,

 

I am getting the same error when I am clicking on send on REST API Explorer and not sending value for one of the query parameters. Which is not mandatory. Kindly help me with this issue. Thank you in Advance.Screenshot 2022-11-04 160916.png