DataWeb
Search Results for

    Show / Hide Table of Contents

    Class ModuleAutomationTaskForm

    Module that handles form editing for automation tasks, automatically setting the initial status on creation.

    Inheritance
    object
    Module
    ModuleForm
    ModuleAutomationTaskForm
    Inherited Members
    ModuleForm.ValidateAsync(Item, Dictionary<string, object>, CancellationToken)
    ModuleForm.SaveAsync(Item, Dictionary<string, object>, CancellationToken)
    ModuleForm.IsCompletedAsync(Item, Section, CancellationToken)
    ModuleForm.CloneAsync(Item, Item, CancellationToken)
    Module.section
    Module.navigationContext
    Module.serviceProvider
    Module.GetProvidedValues(Dictionary<string, object>)
    Module.GetSectionNotificationCountAsync(CancellationToken)
    Module.GetActionsAsync(CancellationToken)
    Module.ProcessActionAsync(ContextAction, IUser, List<string>, List<Form.ProvidedValue>, NavigationContext, CancellationToken)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DataWeb.Structure.Modules
    Assembly: DataWeb.Core.dll
    Syntax
    public class ModuleAutomationTaskForm : ModuleForm

    Constructors

    ModuleAutomationTaskForm(Section, NavigationContext, IServiceProvider)

    Module that handles form editing for automation tasks, automatically setting the initial status on creation.

    Declaration
    public ModuleAutomationTaskForm(Section section, NavigationContext navigationContext, IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    Section section
    NavigationContext navigationContext
    IServiceProvider serviceProvider

    Methods

    ProcessOnSaveDataAsync(Item, SectionPart, List<ProvidedValue>, Dictionary<string, object>, CancellationToken)

    Sets the Status field to "Idle" when a new automation task section part is created.

    Declaration
    public override Task ProcessOnSaveDataAsync(Item item, Item.SectionPart sectionPart, List<Form.ProvidedValue> providedValues, Dictionary<string, object> historySectionData, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    Item item

    The parent item being saved.

    Item.SectionPart sectionPart

    The section part being saved.

    List<Form.ProvidedValue> providedValues

    Form values provided by the user.

    Dictionary<string, object> historySectionData

    Data used for audit history tracking.

    CancellationToken cancellationToken

    Token to cancel the asynchronous operation.

    Returns
    Type Description
    Task

    A completed task.

    Overrides
    ModuleForm.ProcessOnSaveDataAsync(Item, Item.SectionPart, List<Form.ProvidedValue>, Dictionary<string, object>, CancellationToken)
    In this article
    Back to top Generated by DocFX