Closed rose-a closed 1 year ago
Hi @rose-a
Thanks for reporting the issue! Is there any possibility you can share a project that reproduces this behavior?
I'm on it...
I suspect the issue is not just related to ForEach, but all activities with a generic argument...
Thanks for having gotten to the bottom of this @rose-a ! I'll close this issue, but feel free to reopen if you find something else that is related to this.
Hi, I have an app with two separate workflows (materialized by dependency injection,
elsa.AddWorkflowsFrom<Program>()
), one of which used the ForEach activity. Everything worked fine.Then I added a new workflow to the application, which also contains a ForEach activity (using a different item type), and now on startup it throws the following exception:
The exception is thrown here when trying to execute
x => (Input?)x.ValueGetter(activity)
when processing the first ForEach activity (the one from the workflow which was working before).As soon as I remove the ForEach from the new workflow the app runs fine again.