using Elsa.Extensions; using Elsa.Workflows; using Elsa.Workflows.Attributes; using Elsa.Workflows.Models; using Elsa.Workflows.UIHints; using Elsa.Workflows.UIHints.CheckList; namespace Elsa.Server.Web.Activities; public class CheckedActivity : CodeActivity { [Input(UIHint = InputUIHints.CheckList, UIHandler = typeof(CustomCheckListOptionsProvider))] public Input CheckedItems { get; set; } protected override void Execute(ActivityExecutionContext context) { context.SetResult(CheckedItems.GetOrDefault(context)); } }