Optional
$guid?: stringOptional
$type?: stringexec, hook, proxy
Optional
await?: booleanif set to false explicitly it will not await the result
Optional
fields?: string[]list of state field names to return (this is NOT the final response)
Optional
id?: stringif provided along with a ttl
, the function will be cached
Optional
marker?: StringStringTypeCustom marker data field used for adding a searchable marker to the job. markers always begin with a dash (-). Any field that does not begin with a dash will be removed and will not be inserted with the initial data set.
Optional
namespace?: stringnamespace for the the execution client
Optional
pending?: numberIf provided, the job will initialize in an pending state, reserving
only the job ID (HSETNX) and persisting search and marker (if provided).
If a resume
signal is sent before the specified number of seconds,
the job will resume as normal. If the job is not resumed within the
number of seconds provided, the job will be scrubbed. No dependencies
are set for a job in a pending state; however, dependencies will be
added after the job is resumed if necessary.
Optional
prefix?: stringdefaults to entity
input parameter; allows override of the workflowId prefix
Optional
search?: WorkflowSearchOptionsOptional
tasktaskQueue for the workflowId (defaults to entity)
Optional
ttl?: stringin format '1 minute', '5 minutes', '1 hour', 'infinity', etc
full GUID (including prefix)