elsa-core/src/apps/Elsa.Server.Web/SlowActivity.cs
Sipke Schoorstra dd92fa097c
Add migration files for database schema V3.4
This commit introduces migration files for multiple database providers (MySQL, SQL Server, PostgreSQL, SQLite, and Oracle) to support schema changes for version 3.4. The migrations primarily involve mapping entity schemas, indexes, and table structures for consistency across all supported database systems.
2025-02-22 20:48:56 +01:00

15 lines
393 B
C#

using Elsa.Workflows;
using Elsa.Workflows.Attributes;
namespace Elsa.Server.Web;
[Activity(Kind = ActivityKind.Task)]
public class SlowActivity : CodeActivity
{
protected override async ValueTask ExecuteAsync(ActivityExecutionContext context)
{
Console.WriteLine("Starting...");
await Task.Delay(TimeSpan.FromSeconds(45));
Console.WriteLine("Done.");
}
}