Skip to main content
3-Newcomer
November 28, 2023
Question

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

  • November 28, 2023
  • 1 reply
  • 793 views

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

Community Manager
February 9, 2024

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