EAVFW.Extensions.WorkflowEngine 4.0.0

dotnet add package EAVFW.Extensions.WorkflowEngine --version 4.0.0                
NuGet\Install-Package EAVFW.Extensions.WorkflowEngine -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="EAVFW.Extensions.WorkflowEngine" Version="4.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EAVFW.Extensions.WorkflowEngine --version 4.0.0                
#r "nuget: EAVFW.Extensions.WorkflowEngine, 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.
// Install EAVFW.Extensions.WorkflowEngine as a Cake Addin
#addin nuget:?package=EAVFW.Extensions.WorkflowEngine&version=4.0.0

// Install EAVFW.Extensions.WorkflowEngine as a Cake Tool
#tool nuget:?package=EAVFW.Extensions.WorkflowEngine&version=4.0.0                

EAVFW.Extensions.WorkflowEngine

dotnet tool run eavfw-manifest install EAVFW.Extensions.WorkflowEngine

A Run workflow ribbon button

import { RegistereRibbonButton, useAppInfo, useModelDrivenApp, useRibbon } from "@eavfw/apps";


RegistereRibbonButton("RUN_REMOTE_WORKFLOW", ({ key, ...props }) => {
    const { registerButton, events } = useRibbon();
    const { currentEntityName, currentRecordId } = useAppInfo();


    const app = useModelDrivenApp();

    registerButton({
        key: key,
        text: props.text ?? "Run Workflow",
        iconProps: props.iconProps ?? { iconName: 'Send' },
        title: props.title ?? props.text ?? "Run Workflow",
        disabled: false,
        onClick: () => {

            //@ts-ignore
            let rsp = fetch(`${process.env.NEXT_PUBLIC_API_BASE_URL}/entities/${app.getEntity(currentEntityName).collectionSchemaName}/records/${currentRecordId}/workflows/${props.workflowName}/runs`, {
                method: "POST",
                body: JSON.stringify({}),
                credentials: "include"
            });
        }
        //workflow: props.workflow
        // onClick: onClick
    });

});

Changelog

(12/6/2022) - Bug on forloop payload fixed

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

NuGet packages (3)

Showing the top 3 NuGet packages that depend on EAVFW.Extensions.WorkflowEngine:

Package Downloads
EAVFW.Extensions.DynamicManifest

Dynamic Manifest Support for runtime models

EAVFW.Extensions.Docs.Extractor

Package Description

EAVFW.Extensions.DigitalSigning

Digital Signing Package for EAVFW Busines Application Framework

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.0 56 11/13/2024
3.2.10 120 11/12/2024
3.2.9 235 10/17/2024
3.2.8 371 9/13/2024
3.2.7 216 8/28/2024
3.2.6 160 8/25/2024
3.2.5 95 8/21/2024
3.2.4 219 8/21/2024
3.2.3 97 8/18/2024
3.2.2 549 8/8/2024
3.2.1 241 6/25/2024
3.2.0 103 6/25/2024
3.1.8 160 6/5/2024
3.1.7 644 4/25/2024
3.1.6 518 11/30/2023
3.1.5 150 11/27/2023
3.1.4 572 10/29/2023
3.1.3 124 10/29/2023
3.1.2 134 10/25/2023
3.1.1 167 10/24/2023
3.1.0 145 10/18/2023
3.0.2 150 9/29/2023
3.0.1 220 2/1/2023
3.0.1-dev.1 226 12/6/2022
3.0.0 137 11/21/2022
3.0.0-dev.5 107 12/6/2022
3.0.0-dev.4 109 11/21/2022
3.0.0-dev.3 232 11/17/2022
2.0.2-dev.3 142 11/15/2022
2.0.2-dev.2 117 11/9/2022
2.0.2-dev.1 130 11/9/2022
2.0.1 170 10/9/2022
2.0.0 410 10/5/2022
1.1.13 148 9/11/2022
1.1.12 130 9/11/2022
1.1.11 131 9/11/2022
1.1.10 138 8/29/2022
1.1.9 170 8/10/2022
1.1.8 148 8/8/2022
1.1.7 146 8/8/2022
1.1.6 140 8/8/2022
1.1.5 147 8/4/2022
1.1.4 143 8/4/2022
1.1.3 164 8/4/2022
1.1.2 150 8/3/2022
1.1.1 147 8/3/2022
1.1.0 137 8/3/2022
1.0.9 156 8/3/2022
1.0.8 145 7/30/2022
1.0.7 137 7/30/2022
1.0.6 135 7/30/2022
1.0.5 143 7/30/2022
1.0.4 136 7/30/2022
1.0.3 147 7/30/2022
1.0.2 151 7/30/2022
1.0.1 142 7/29/2022