Task is not running in lua script when multiple templates / edge things were configured in EMS
Nov 28, 2023
01:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Nov 28, 2023
01:53 AM
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?
Labels:
- Labels:
-
Coding
-
Connectivity
-
Troubleshooting
1 REPLY 1
Feb 09, 2024
02:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Feb 09, 2024
02:22 PM
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
