Skip to main content
13-Aquamarine
Jun 5, 2023 5:35 PM UTC
Solved

Why are the most of javascript functions is not working in thingworx service 's compiler?

Read Subject

 

jenscAnswer
17-Peridot
Jun 6, 2023 11:26 AM UTC

Hello @Hrishabh.Sharma,

 

There are a lot of newer javascript functions that do not work in Thingworx services because Thingworx uses a version of Rhino Javascript.

Here is a reference if you want to read more: PTC article

I did read somewhere that they will change this to a new javscript engine sometime in 2024(?)

I tried to find where I read this, but couldn't find it.

 

Regards,

Jens

2 replies

19-Tanzanite
Jun 6, 2023 8:44 AM UTC

@Hrishabh.Sharma I read the subject, but it does not offer enough detail to answer.

Can you share the exact list of functions you refer to?

 

BR,

Translate
jensc17-PeridotAnswer
17-Peridot
Jun 6, 2023 11:26 AM UTC

Hello @Hrishabh.Sharma,

 

There are a lot of newer javascript functions that do not work in Thingworx services because Thingworx uses a version of Rhino Javascript.

Here is a reference if you want to read more: PTC article

I did read somewhere that they will change this to a new javscript engine sometime in 2024(?)

I tried to find where I read this, but couldn't find it.

 

Regards,

Jens

Translate