ABP Framework version: v5.3 UI type: MVC DB provider: EF Core / MongoDB Tiered (MVC) or Identity Server Separated (Angular): yes Exception message and stack trace: Steps to reproduce the issue:"
When we are trying to inject Elsa(Elsa 1.4) IWorkflowInvoker in AppService/Controller, We are getting error.
We added project references: 'Elsa', 'Elsa.Core' and 'Elsa.Abstractions' in AppService project 'Elsa', 'Elsa.Core' and 'Elsa.Abstractions' in HttpApi project 'Elsa.Persistence.EntityFrameworkCore' in EntityFrameworkCore project 'Elsa.Persistence.MongoDb' in MongoDB Project
8 Answer(s)
-
0
Please share the full error logs.
btw we have a demo for
Elsa
https://github.com/abpframework/abp-samples/tree/master/ElsaDemo -
0
We emailed the log file to liming.ma@volosoft.com
We are able to inject IWorkflowInvoker in web project and it is working. whenever trying to inject in AppService/Controller, We are getting ActivatorChain error.
-
0
hi viswajwalith
Please share a simple project I can check
whenever trying to inject in AppService/Controller, We are getting ActivatorChain error.
-
0
Dear Maliming
We emailed the Sample project to malimings@gmail.com
We can inject IWorkflowInvoker in web project and it is working. whenever trying to inject in Application project, We are getting ActivatorChain error.
-
0
hi
Your
ConfigureElsa
in theMicroServiceDemoWebModule
and
MicroServiceDemoWebModule
depends onProductServiceWebModule
that's the way you can inject theIWorkflowInvoker
but the application doesn't call
ConfigureElsa
-
0
Please check the dependencies between your modules.
-
0
To inject IWorkflowInvoker in Application, which module dependencies need to be added in which modules in sample project. Could you try with the sample project and guide us.
-
0
eg call
ConfigureElsa
inMyCompanyName.MyProjectName.IdentityService.HttpApi.Host
then you can useIWorkflowInvoker
inMyCompanyName.MyProjectName.IdentityService.Application