@manta-eu/react/hooks/useActionPlanExecution
Reference for @manta-eu/react/hooks/useActionPlanExecution as it is on main.
Type Aliases
ExecuteActionPlanResult
ExecuteActionPlanResult = {
success:true;workflowId:string; } | {error:string;success:false; }
UseActionPlanExecutionResult
UseActionPlanExecutionResult =
object
Properties
dryRun
dryRun:
boolean|null
execute
execute: (
dryRun?) =>Promise<ExecuteActionPlanResult>
Parameters
dryRun?
boolean
Returns
Promise<ExecuteActionPlanResult>
isTriggered
isTriggered:
boolean
reset
reset: () =>
void
Returns
void
triggeredAtMs
triggeredAtMs:
number|null
triggerError
triggerError:
string|null
workflowId
workflowId:
string|null
Functions
useActionPlanExecution()
useActionPlanExecution(
planGraphIri,chatIri?):UseActionPlanExecutionResult
Parameters
planGraphIri
string
chatIri?
string