I have an AWS IoT Thing Group which includes some in-progress continuous jobs. When a device is added to the thing group, I want the continuous jobs must be processed as the order they were posted. However, look like the job executions are queued into my device in reverse order where the newest job is pushed first and so on.
I tried to search somewhere mention about the order of AWS IoT continuous job executions queued on the device but found nothing.
I wonder if I missed any configurations when I created the continuous jobs or the reverse order is the behavior of AWS IoT.
Without any code it is difficult to understand which MQTT topic you are using to get the list of jobs or how you are starting a job. Ideally, you should follow the device flow as described here. One important API is the StartNextPendingJobExecution. As mentioned,
Job executions are returned in the order in which they were created.. So calling this API should give you the job to execute in the right order.