Unable to access additonalScope values in query

Here is how I am using additonalScope to trigger a query multiple times.


I tried to debug as well the value is null for some reason
image

Is there a issue with how I am using async and await ?

Hello, appointment_id is only accessable for updateStatusAppointments query

additionalScopes are not global variables

and i think MongoDB resource doesn't support additional scopes