Hi @ismcagdas
We are using Asp.net Zero V 13.3.0 with.NET Core and Angular.
we have installed below NuGet package.

but getting this error after run application.

How can we solve this issue? Can you please check this issue as soon as possible, and can you help us integrate Elsa?
Note: - Only NuGet package. Install on the host project and execute the application without any modifications at startup.cs
41 Answer(s)
-
0
Hi cyber50.ae
Your project has reached us, after performing the normal installation on the server side, the node modules packages have been installed on the Angular side. When we run the project, the problem you mentioned in the screenshot below does not occur. Here, I will ask you to perform the package installation again after deleting the
node_modulesfile and the package lock files.Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
-
0
-
0
-
0
Hi cyber50.ae
Your project has reached us, after performing the normal installation on the server side, the node modules packages have been installed on the Angular side. When we run the project, the problem you mentioned in the screenshot below does not occur. Here, I will ask you to perform the package installation again after deleting the
node_modulesfile and the package lock files. -
0
Hi
After removing the
SwaggerDocumentFilterincluded underservices.AddSwaggerGen, you need to add a new class as shown below.Create a static class named
SwaggerConfigExtensions.csusing Microsoft.Extensions.DependencyInjection; using Swashbuckle.AspNetCore.SwaggerGen; namespace Intelly.Web.Swagger { public static class SwaggerConfigExtensions { public static void AddSwaggerRouteFilter(this SwaggerGenOptions options) { options.DocInclusionPredicate((docName, apiDesc) => { var routeTemplate = apiDesc.RelativePath; if (routeTemplate == "workflow-definitions") return false; else if (routeTemplate.Contains("workflow-definitions/import-files")) return false; else if (routeTemplate.Contains("workflow-instances")) return false; else if (routeTemplate.Contains("workflow-registry")) return false; else if (routeTemplate.Contains("workflows")) return false; else if (routeTemplate.Contains("v{apiVersion}")) return false; else if (routeTemplate.Contains("v{version}")) return false; return true; }); } } }After creating this class, change the
DocInclusionPredicatemethod that was added before like this:Before
// options.DocInclusionPredicate((docName, description) => true); //After
// options.AddSwaggerRouteFilter(); //After making these changes, you will be able to access the Swagger UI screen without any problems.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi
After removing the
SwaggerDocumentFilterincluded underservices.AddSwaggerGen, you need to add a new class as shown below.Create a static class named
SwaggerConfigExtensions.csusing Microsoft.Extensions.DependencyInjection; using Swashbuckle.AspNetCore.SwaggerGen; namespace Intelly.Web.Swagger { public static class SwaggerConfigExtensions { public static void AddSwaggerRouteFilter(this SwaggerGenOptions options) { options.DocInclusionPredicate((docName, apiDesc) => { var routeTemplate = apiDesc.RelativePath; if (routeTemplate == "workflow-definitions") return false; else if (routeTemplate.Contains("workflow-definitions/import-files")) return false; else if (routeTemplate.Contains("workflow-instances")) return false; else if (routeTemplate.Contains("workflow-registry")) return false; else if (routeTemplate.Contains("workflows")) return false; else if (routeTemplate.Contains("v{apiVersion}")) return false; else if (routeTemplate.Contains("v{version}")) return false; return true; }); } } }After creating this class, change the
DocInclusionPredicatemethod that was added before like this:Before
// options.DocInclusionPredicate((docName, description) => true); //After
// options.AddSwaggerRouteFilter(); //After making these changes, you will be able to access the Swagger UI screen without any problems.
Thank you so much. but We want to make WorkFlowDefinitions to be multi-tenant.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
-
0
Hi @oguzhanagir,
any update?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
Couldn't understand your request. As you can see, this table already contains
TenantIdfield.Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi cyber50.ae
This ELSA issue (https://github.com/elsa-workflows/elsa-core/issues/2462) may help you
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
Couldn't understand your request. As you can see, this table already contains
TenantIdfield.I logged in as a tenant and created a workflow. The record has inserted into the WorkFlowDefinitions SQL table. but the Tenant ID was missing; no value was inserted for Tenant ID. How can I solve this issue?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
Couldn't understand your request. As you can see, this table already contains
TenantIdfield.I logged in as a tenant and created a workflow. The record has inserted into the WorkFlowDefinitions SQL table. but the Tenant ID was missing; no value was inserted for Tenant ID. How can I solve this issue?
Hi @oguzhanagir , any update?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi
Here you can get the information of the logged in user from the session and make custom changes in the base service that adds to the WorkFlowDefinitions table.
The comments in this issue (https://github.com/elsa-workflows/elsa-core/issues/2462) will help you.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi
Here you can get the information of the logged in user from the session and make custom changes in the base service that adds to the WorkFlowDefinitions table.
The comments in this issue (https://github.com/elsa-workflows/elsa-core/issues/2462) will help you.
hi @oguzhanagir, not working our side, any other way.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi
We won't be able to assist with this matter. It would be more appropriate to communicate your request to the ELSA developers.
Thank you. Best regards
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)



