cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Task is not running in lua script when multiple templates / edge things were configured in EMS

TS_10150564
3-Newcomer

Task is not running in lua script when multiple templates / edge things were configured in EMS

We have created 2 Edge Things (EdgeThing1 and EdgeThing2) that have auto-binding names in config.json as *EdgeThing. Each Edge Thing Template has Task code set to run at different intervals.

However, we notice that only one of the Tasks runs while the other never runs even though both Things report as connected on the Platform. How can we fix this?

1 REPLY 1
slangley
23-Emerald II
(To:TS_10150564)

Hi @TS_10150564.

 

Connectivity to the Platform doesn't have any bearing on the failure of the task to run.  It sounds like the issue is within the Task itself.

 

Try reviewing the Task and possibly comparing to the other Task to identify potential causes.  Check the EMS logs for possible causes as well.

 

Regards.

 

--Sharon

Announcements


Top Tags