Matt Poloni
06/29/2023, 4:59 PMscriptContext.type
, I can tell if it's view, create, edit, schedule, etc. But I can't seem to figure out the entry point.
Also (still for WFA scripts), is there a way to detect whether it's running as a result of a CSV import or from the UI, etc.? The executionContext
from N/runtime module always says "WORKFLOW", so I feel like I can't meaningfully differentiate there, either.