elsa-core icon indicating copy to clipboard operation
elsa-core copied to clipboard

use Alteration ---- ScheduleActivity error

Open Nokecy opened this issue 2 years ago • 6 comments

https://github.com/elsa-workflows/elsa-core/blob/91b59a90efc647a5a0767aa42b2f3e9a6905e389/src/modules/Elsa.Workflows.Core/Contexts/WorkflowExecutionContext.cs#L481

System.InvalidOperationException : Sequence contains more than one matching element

NodeIdLookup.Single maybe NodeIdLookup.FirstOrDefault ? @sfmskywalker

Nokecy avatar Jan 05 '24 09:01 Nokecy

Maybe, but perhaps there's a bug elsewhere and there shouldn't be more than one element in the lookup. So, instead of ignoring the duplicate, let's first try to understand the reason for it. Do you have steps to reproduce this issue we might look at?

sfmskywalker avatar Jan 05 '24 11:01 sfmskywalker

Schedule Composite Activity ?

Nokecy avatar Jan 06 '24 00:01 Nokecy

Do you have a sample project and or workflow I can use to reproduce this behaviour?

sfmskywalker avatar Jan 06 '24 11:01 sfmskywalker

https://github.com/Nokecy/ElsaConsole_Demo @sfmskywalker

Nokecy avatar Jan 09 '24 08:01 Nokecy

Do you have any ideas ? @sfmskywalker

Nokecy avatar Jan 18 '24 07:01 Nokecy

Hi there, I’m afraid I haven’t had the time yet to look into this. I will report back any findings and ideas I might have. Thank you for your patience.

sfmskywalker avatar Jan 18 '24 16:01 sfmskywalker