diff --git a/src/dashboard/Elsa.Dashboard/Areas/Elsa/Controllers/WorkflowDefinitionController.cs b/src/dashboard/Elsa.Dashboard/Areas/Elsa/Controllers/WorkflowDefinitionController.cs index b2dc2e92a..e39a9c136 100644 --- a/src/dashboard/Elsa.Dashboard/Areas/Elsa/Controllers/WorkflowDefinitionController.cs +++ b/src/dashboard/Elsa.Dashboard/Areas/Elsa/Controllers/WorkflowDefinitionController.cs @@ -102,7 +102,7 @@ namespace Elsa.Dashboard.Areas.Elsa.Controllers await workflowDefinitionStore.SaveAsync(workflow, cancellationToken); notifier.Notify("New workflow successfully created.", NotificationType.Success); - return RedirectToAction("Edit", new { id = workflow.Id }); + return RedirectToAction("Edit", new { id = workflow.DefinitionId }); } [HttpGet("edit/{id}")]