We have orders created from a bundle and the conte...
# suitescript
m
We have orders created from a bundle and the context shown in system notes is Script (Scheduled). However, my code doesn't seem to execute within the context check. Isn't the below correct?
Copy code
runtime.executionContext === runtime.ContextType.SCHEDULED)
s
You can check if maybe Map/Reduce also shows as Scheduled in the UI? I think it says Map/Reduce, though
you can also just log the
runtime.executionContext
and see what it says
m
I realised my script wasn't actually been called. I am a bit confused because the script should at least show me which trigger/context point it's running. Nothing is logged. The script deployment includes all the context filtering and deployed to all roles