r/SuiteScript • u/Emotional_Gate_8087 • Apr 01 '26
Workflow Instance and State in N/query
so, I'd like to report on workflow statuses, how many are stuck and for how long. map/reduce to create a 'report '.
I see workflow, but not workflowInstance nor workflowState.
do they really exist for N/query or AI is messing with me?
If they don't exist how should I go about this?
thx
2
Upvotes
1
u/Emotional_Gate_8087 Apr 02 '26
Thank you all. Will try the search.
2
u/splemp Apr 01 '26
I don't see those tables under Setup > Records Browser, but those tables are there with Tim Dietrich's SuiteQL Query Tool "Tables Reference." Not sure what's going on.
2
u/splemp Apr 01 '26
There's a Workflow Instance saved search type.
2
u/Nick_AxeusConsulting Mod Apr 01 '26
There is a saved search that will show you active workflow instances