[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Linq.Dynamic.Core.Exceptions.ParseException: 'Unknown identifier 'MyEvent'' #1161

Open
udaymanvar opened this issue Apr 26, 2023 · 0 comments

Comments

@udaymanvar
Copy link

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''

image

This works when we register the work flow suing
host.RegisterWorkflow<EventSampleWorkflow, MyDataClass>();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant