pub struct FlowModuleSuspend {
pub required_events: Option<i32>,
pub timeout: Option<i32>,
pub resume_form: Option<Box<FlowModuleSuspendResumeForm>>,
pub user_auth_required: Option<bool>,
pub user_groups_required: Option<Box<InputTransform>>,
pub self_approval_disabled: Option<bool>,
pub hide_cancel: Option<bool>,
pub continue_on_disapprove_timeout: Option<bool>,
pub skin: Option<Skin>,
pub show_on_home: Option<bool>,
}Expand description
FlowModuleSuspend : Configuration for approval/resume steps that wait for user input
Fields§
§required_events: Option<i32>Number of approvals required before continuing
timeout: Option<i32>Timeout in seconds before auto-continuing or canceling
resume_form: Option<Box<FlowModuleSuspendResumeForm>>§user_auth_required: Option<bool>If true, only authenticated users can approve
user_groups_required: Option<Box<InputTransform>>§self_approval_disabled: Option<bool>If true, the user who started the flow cannot approve
hide_cancel: Option<bool>If true, hide the cancel button on the approval form
continue_on_disapprove_timeout: Option<bool>If true, continue flow on timeout instead of canceling
skin: Option<Skin>How the approval request is presented, on the approval page and in Slack/Teams approval messages. ‘detailed’ (used when unset) shows the flow details (arguments, graph, approvers); ‘minimal’ shows only the request: the step description, form and approve/reject actions
show_on_home: Option<bool>If true, a run waiting on this step is listed on the Home page of each user who can approve it. Leave unset when the approval request is sent through another channel (Slack, Discord, email), so it does not sit there unanswered
Implementations§
Source§impl FlowModuleSuspend
impl FlowModuleSuspend
Sourcepub fn new() -> FlowModuleSuspend
pub fn new() -> FlowModuleSuspend
Configuration for approval/resume steps that wait for user input