Sanity Library Reference Docs
Preparing search index...
@sanity/workflow-sdk
index
useDocumentWorkflows
Function useDocumentWorkflows
useDocumentWorkflows
(
__namedParameters
:
{
document
:
|
`
dataset:
${
string
}
`
|
`
canvas:
${
string
}
`
|
`
media-library:
${
string
}
`
|
`
dashboard:
${
string
}
`
;
engine
:
Engine
;
}
,
)
:
WorkflowInstanceList
Which in-flight instances reference this document (GDR URI) — live, observed through the App SDK.
Parameters
__namedParameters
:
{
document
:
|
`
dataset:
${
string
}
`
|
`
canvas:
${
string
}
`
|
`
media-library:
${
string
}
`
|
`
dashboard:
${
string
}
`
;
engine
:
Engine
;
}
Returns
WorkflowInstanceList
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Sanity Library Reference Docs
Loading...
Which in-flight instances reference this document (GDR URI) — live, observed through the App SDK.