EAVFW.Extensions.WorkflowEngine 5.0.0

dotnet add package EAVFW.Extensions.WorkflowEngine --version 5.0.0                
NuGet\Install-Package EAVFW.Extensions.WorkflowEngine -Version 5.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="5.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 5.0.0                
#r "nuget: EAVFW.Extensions.WorkflowEngine, 5.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=5.0.0

// Install EAVFW.Extensions.WorkflowEngine as a Cake Tool
#tool nuget:?package=EAVFW.Extensions.WorkflowEngine&version=5.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
5.0.0 62 12/18/2024
4.0.2 53 12/16/2024
4.0.1 83 12/9/2024
4.0.0 207 11/13/2024
3.2.10 147 11/12/2024
3.2.9 244 10/17/2024
3.2.8 378 9/13/2024
3.2.7 222 8/28/2024
3.2.6 166 8/25/2024
3.2.5 105 8/21/2024
3.2.4 227 8/21/2024
3.2.3 107 8/18/2024
3.2.2 557 8/8/2024
3.2.1 247 6/25/2024
3.2.0 110 6/25/2024
3.1.8 166 6/5/2024
3.1.7 648 4/25/2024
3.1.6 522 11/30/2023
3.1.5 154 11/27/2023
3.1.4 576 10/29/2023
3.1.3 128 10/29/2023
3.1.2 139 10/25/2023
3.1.1 171 10/24/2023
3.1.0 149 10/18/2023
3.0.2 154 9/29/2023
3.0.1 224 2/1/2023
3.0.1-dev.1 231 12/6/2022
3.0.0 141 11/21/2022
3.0.0-dev.5 111 12/6/2022
3.0.0-dev.4 113 11/21/2022
3.0.0-dev.3 236 11/17/2022
2.0.2-dev.3 146 11/15/2022
2.0.2-dev.2 121 11/9/2022
2.0.2-dev.1 134 11/9/2022
2.0.1 174 10/9/2022
2.0.0 414 10/5/2022
1.1.13 152 9/11/2022
1.1.12 134 9/11/2022
1.1.11 135 9/11/2022
1.1.10 142 8/29/2022
1.1.9 176 8/10/2022
1.1.8 152 8/8/2022
1.1.7 152 8/8/2022
1.1.6 144 8/8/2022
1.1.5 151 8/4/2022
1.1.4 148 8/4/2022
1.1.3 168 8/4/2022
1.1.2 154 8/3/2022
1.1.1 151 8/3/2022
1.1.0 141 8/3/2022
1.0.9 160 8/3/2022
1.0.8 149 7/30/2022
1.0.7 142 7/30/2022
1.0.6 139 7/30/2022
1.0.5 147 7/30/2022
1.0.4 140 7/30/2022
1.0.3 151 7/30/2022
1.0.2 155 7/30/2022
1.0.1 146 7/29/2022