Fix incorrect syntax for generating GUID in CountdownWorkflow
Corrected the syntax for defining the static `DefinitionId` property. This ensures the GUID is generated properly without causing runtime issues.
This commit is contained in:
parent
ef71a3e731
commit
88744c720d
|
|
@ -6,7 +6,7 @@ namespace Elsa.Workflows.ComponentTests.Scenarios.Variables.Workflows;
|
|||
|
||||
public class CountdownWorkflow : WorkflowBase
|
||||
{
|
||||
public static readonly string DefinitionId = "Guid.NewGuid().ToString()";
|
||||
public static readonly string DefinitionId = Guid.NewGuid().ToString();
|
||||
|
||||
protected override void Build(IWorkflowBuilder builder)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue