Dev1.Flow.Core 4.0.0

dotnet add package Dev1.Flow.Core --version 4.0.0
                    
NuGet\Install-Package Dev1.Flow.Core -Version 4.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Dev1.Flow.Core" Version="4.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Dev1.Flow.Core" Version="4.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Dev1.Flow.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Dev1.Flow.Core --version 4.0.0
                    
#r "nuget: Dev1.Flow.Core, 4.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Dev1.Flow.Core@4.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Dev1.Flow.Core&version=4.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Dev1.Flow.Core&version=4.0.0
                    
Install as a Cake Tool

Dev1.Flow.Core

A comprehensive framework for building custom Flow Actions and Triggers for Flow (Oqtane). This is essentially an SDK. It requires the Dev1 Flow module to be installed on your Oqtane instance.

Release

v4.0.0

  • Consolidated WorkflowEvent - now accepts all required parameters
  • extended ProcessingContext - now holds a list of ContextItems
  • Added UpsertContextItem Helper method. Allows actions to update and
  • insert context specific data.
  • aligns with version 4.0.0 of Flow module.

Quick Start

Creating a Custom Action

public class MyCustomAction : IFlowProcessor { public string ActionName ⇒ "My Custom Action"; public string ActionDescription ⇒ "Performs custom business logic"; public List<ActionPropertyDefinition> PropertyDefinitions ⇒ new() { new ActionPropertyDefinition { Name = "ApiEndpoint", InputTypeId = (int)eInputType.TextBox, IsRequired = true } };

public async Task ExecuteActionAsync(WorkflowItemDto workflowItem, int siteId, int moduleId, int userId, string contextName, string contextEmail) { // Your custom logic here }

public async Task<ActionDataResponse> GetActionDataAsync(string propertyName, int moduleid, int userid, int siteId) { // Return data for dynamic properties return new ActionDataResponse { Success = true }; }

public List<string> ContextRequirements ⇒ new(); }

Property Types

The framework supports various input types:

  • eInputType.TextBox - Single line text input
  • eInputType.TextArea - Multi-line text input
  • eInputType.DropDown - Dropdown selection
  • eInputType.Switch - Boolean toggle
  • eInputType.Number - Numeric input
  • eInputType.Date - Date picker
  • eInputType.Email - Email input with validation

Dynamic Data

Populate dropdowns and lists dynamically: public async Task<ActionDataResponse> GetActionDataAsync(string propertyName, int moduleid, int userid, int siteId) { var response = new ActionDataResponse { Success = true }; switch (propertyName.ToLower()) { case "categories": response.Items.AddRange(await GetCategoriesAsync()); break; }

return response; }

Documentation

For complete documentation and examples, visit: https://dev-one.com.au/flow

License

This project is licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.0 193 8/26/2025
3.0.1 55 8/23/2025
3.0.0 110 8/22/2025
2.0.3 104 8/17/2025
2.0.2 62 8/16/2025