UiPath.Workflow
6.0.3
Prefix Reserved
dotnet add package UiPath.Workflow --version 6.0.3
NuGet\Install-Package UiPath.Workflow -Version 6.0.3
<PackageReference Include="UiPath.Workflow" Version="6.0.3" />
paket add UiPath.Workflow --version 6.0.3
#r "nuget: UiPath.Workflow, 6.0.3"
// Install UiPath.Workflow as a Cake Addin #addin nuget:?package=UiPath.Workflow&version=6.0.3 // Install UiPath.Workflow as a Cake Tool #tool nuget:?package=UiPath.Workflow&version=6.0.3
CoreWF
A port of the Windows Workflow Foundation (WF) runtime to .NET 6. This project is still in the experimental phase. It is licensed under the MIT License.
This is not an official Microsoft release of WF on .NET 6. CoreWF is a derivative work of Microsoft's copyrighted Windows Workflow Foundation.
WF Overview
Workflows are multi-step processes composed of activities. Activities are single-purpose elements that can be composed of other activities. Workflows have only one root activity in the same way that an XML document has only one root element.
Developers can create workflows in code:
var helloWorldActivity = new Sequence()
{
Activities =
{
new WriteLine
{
Text = "Hello World!"
}
}
};
The workflow can be run with the following code:
System.Activities.WorkflowInvoker.Invoke(helloWorldActivity);
The similarity of workflow/activity concepts to XML's document/element concepts means it's possible to write workflows in XML; specifically, an extension of XML called XAML . The "Hello World!" workflow from above can be written as:
<Activity
x:Class="WorkflowConsoleApplication1.HelloWorld"
xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Sequence>
<WriteLine Text="Hello World!" />
</Sequence>
</Activity>
The XAML workflow can be loaded in CoreWF through ActivityXamlServices:
var helloWorldActivity = ActivityXamlServices.Load(new StringReader(xamlString));
System.Activities.WorkflowInvoker.Invoke(helloWorldActivity);
WF in the .NET Framework includes a visual, drag-and-drop designer for workflows that produces XAML. The "Hello World!" workflow looks like this in the designer:
The designer experience is not part of CoreWF but the XAML produced by the designer can be run in CoreWF (with some limitations). The WF designer experience is available in Visual Studio 2019 by enabling the "Windows Workflow Foundation" individual component in the Visual Studio Installer.
Target Frameworks
CoreWF targets .NET 6 and .NET 6 Windows. The .NET Windows target uses the System.Xaml included in the .NET Desktop Runtime. To use CoreWF on non-Windows runtimes, use the portable .NET 6 target. This is possible because CoreWF includes a copy of the System.Xaml code.
Usage
To add this library to your project, use the NuGet package.
Debug using Source Link
Contributing
Check out the contributing guide for information on how to help CoreWF.
Code of Conduct
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.
.NET Foundation
This project is supported by the .NET Foundation.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net6.0
- Microsoft.CodeAnalysis.CSharp.Scripting (>= 4.0.1)
- Microsoft.CodeAnalysis.VisualBasic (>= 4.0.1)
- Microsoft.PowerFx.Interpreter (>= 0.2.1-preview)
- Nito.AsyncEx.Tasks (>= 5.1.2)
- ReflectionMagic (>= 4.1.0)
- System.CodeDom (>= 6.0.0)
- UiPath.Workflow.Runtime (>= 6.0.3)
-
net6.0-windows7.0
- Microsoft.CodeAnalysis.CSharp.Scripting (>= 4.0.1)
- Microsoft.CodeAnalysis.VisualBasic (>= 4.0.1)
- Microsoft.PowerFx.Interpreter (>= 0.2.1-preview)
- Nito.AsyncEx.Tasks (>= 5.1.2)
- ReflectionMagic (>= 4.1.0)
- System.CodeDom (>= 6.0.0)
- UiPath.Workflow.Runtime (>= 6.0.3)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on UiPath.Workflow:
Package | Downloads |
---|---|
XrmMockup365
Engine which simulates your exact Dynamics 365/CRM instance locally including all of it's logic! |
|
SD.Infrastructure.WWF
SD.Framework 基础设施 - WWF基础 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|