humantask
humantask
yaml
type: "io.kestra.plugin.ee.flow.humantask"Examples
yaml
id: human_in_the_loop
namespace: company.team
tasks:
- id: before_approval
type: io.kestra.plugin.core.debug.Return
format: Output data that needs to be validated by a human
- id: approval_request
type: io.kestra.plugin.ee.flow.HumanTask
assignment:
users:
- user1@kestra.io
- user2@kestra.io
groups:
- Admins
- id: post_approval_log
type: io.kestra.plugin.core.log.Log
message: Manual approval received! Continuing the execution...
Properties
assignment Non-dynamic
Definitions
io.kestra.plugin.ee.flow.HumanTask-Assignment
groupsarray
SubTypestring
usersarray
SubTypestring
behavior string
Default
FAILPossible Values
RESUMEWARNCANCELFAILerrors Non-dynamicarray
finally Non-dynamicarray
onPause Non-dynamic
onResume Non-dynamic
pauseDuration string
Format
durationOutputs
onResume object
resumed
Definitions
io.kestra.plugin.core.flow.Pause-Resumed
bystring
onstring
Format
date-timetostring
Possible Values
CREATEDSUBMITTEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTRESUBMITTED