Skip to main content
13-Aquamarine
June 5, 2023
Solved

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

  • June 5, 2023
  • 2 replies
  • 964 views

Read Subject

 

Best answer by jensc

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
June 6, 2023

@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,

jensc17-PeridotAnswer
17-Peridot
June 6, 2023

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