Skip to main content
13-Aquamarine
Apr 28, 2023 6:53 AM UTC
Question

Need to create dynamic services in ThingWorx to create things

var serviceImplementation=me.name;
Things["Scheduler_Dynamic_CRON13"].EnableThing();
Things["Scheduler_Dynamic_CRON13"].RestartThing();

Things["Scheduler_Dynamic_CRON13"].AddServiceDefinition({
name: "hari" /* STRING */,
description: "welcome" /* STRING {"defaultValue":""} */,
definition:"hi welcome",});

 

 

3 replies

17-Peridot
Apr 28, 2023 1:16 PM UTC
13-Aquamarine
Apr 29, 2023 3:21 AM UTC

HI @nmutter 

i am not get exact code and also create service but action script  unable do the process also new question put in . please help to me  , exact refer to my requirement. 

Translate
Support
May 25, 2023 2:07 PM UTC

Hi @Hariharasuthan.

 

Perhaps logging a ticket would be the best way to move forward.  We have regional support centers, so one of our India colleagues would be able to provide assistance.  If you would like me to open the ticket on your behalf, please let me know.

 

Regards.

 

--Sharon

Translate