You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello When I try to load json definition of workflow which contain WaitFor the Event definition as below is json part of the full definition. "Steps": [ { "Id": "MyWaitStep", "StepType": "WorkflowCore.Primitives.WaitFor, WorkflowCore", "NextStepId": "Bye", "Inputs": { "EventName" : "MyEvent", "EventKey" : "Key1", "EffectiveDate" : "DateTime.Now" } },
I am using below line to load the definition. var def = DefinitionLoader.LoadDefinition(json, Deserializers.Json);
Hello When I try to load json definition of workflow which contain WaitFor the Event definition as below is json part of the full definition.
"Steps": [ { "Id": "MyWaitStep", "StepType": "WorkflowCore.Primitives.WaitFor, WorkflowCore", "NextStepId": "Bye", "Inputs": { "EventName" : "MyEvent", "EventKey" : "Key1", "EffectiveDate" : "DateTime.Now" } },
I am using below line to load the definition.
var def = DefinitionLoader.LoadDefinition(json, Deserializers.Json);
Getting below error.
System.Linq.Dynamic.Core.Exceptions.ParseException: 'Unknown identifier 'MyEvent''
This works when we register the work flow suing
host.RegisterWorkflow<EventSampleWorkflow, MyDataClass>();
The text was updated successfully, but these errors were encountered: