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
any one has idea how await _alterationPlanScheduler.SubmitAsync(plan); will work under specific tenanet
as the following error thrown when i use the above method after "using (_tenantAccessor.PushContext(tenant))", knowing it work just fine without the tenanet configure
System.Exception: Workflow definition with ID 'Elsa.Alterations.ExecuteAlterationPlan' not found
at Elsa.Alterations.Services.DefaultAlterationPlanScheduler.SubmitAsync(AlterationPlanParams planParams, CancellationToken cancellationToken)
I saw in the "ExecuteAlterationPlanWorkflow " class we have the below cont string, but after configure tenanet (with 2 tenanets) in Elsa 3.5 i have now 3 ExecuteAlterationPlan (tenant-2:Elsa.Alterations.ExecuteAlterationPlan, tenant-1:Elsa.Alterations.ExecuteAlterationPlan, Elsa.Alterations.ExecuteAlterationPlan)
so when i push the target tenanet like "tenanet-1" the engine will not find "Elsa.Alterations.ExecuteAlterationPlan" definition
internal const string WorkflowDefinitionId = "Elsa.Alterations.ExecuteAlterationPlan";
please advise
i have check the code and i think the issue is both "DefaultAlterationPlanScheduler, DefaultAlterationJobRunner" isn't aware of tenant,
how we can fix this issue ..
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
any one has idea how await _alterationPlanScheduler.SubmitAsync(plan); will work under specific tenanet
as the following error thrown when i use the above method after "using (_tenantAccessor.PushContext(tenant))", knowing it work just fine without the tenanet configure
System.Exception: Workflow definition with ID 'Elsa.Alterations.ExecuteAlterationPlan' not found
at Elsa.Alterations.Services.DefaultAlterationPlanScheduler.SubmitAsync(AlterationPlanParams planParams, CancellationToken cancellationToken)
I saw in the "ExecuteAlterationPlanWorkflow " class we have the below cont string, but after configure tenanet (with 2 tenanets) in Elsa 3.5 i have now 3 ExecuteAlterationPlan (tenant-2:Elsa.Alterations.ExecuteAlterationPlan, tenant-1:Elsa.Alterations.ExecuteAlterationPlan, Elsa.Alterations.ExecuteAlterationPlan)
so when i push the target tenanet like "tenanet-1" the engine will not find "Elsa.Alterations.ExecuteAlterationPlan" definition
internal const string WorkflowDefinitionId = "Elsa.Alterations.ExecuteAlterationPlan";
please advise
i have check the code and i think the issue is both "DefaultAlterationPlanScheduler, DefaultAlterationJobRunner" isn't aware of tenant,
how we can fix this issue ..
Beta Was this translation helpful? Give feedback.
All reactions