Comments (1)
To address the issue where workflow definitions or instances without the "IsSystem" property set are not showing up in Elsa Studio, you should ensure that the property is explicitly set to false
for all existing definitions and instances in the database. This is necessary because the behavior has changed with the introduction of the "IsSystem" property in Elsa version 3.1.0 and later.
Since the property was newly introduced, entities that were created before the update may not have this property set, leading to them being filtered out when Elsa Studio tries to list them. By setting "IsSystem" to false
, you ensure that these entities are included in the list.
If you have direct access to the database, you can run an update query to set the "IsSystem" property to false
for all records where it is not set. If you are using MongoDB as your persistent storage, the query would look something like this:
db.workflowDefinitions.updateMany(
{ "IsSystem": { "$exists": false } },
{ "$set": { "IsSystem": false } }
);
db.workflowInstances.updateMany(
{ "IsSystem": { "$exists": false } },
{ "$set": { "IsSystem": false } }
);
Please replace workflowDefinitions
and workflowInstances
with the actual collection names in your MongoDB database.
Remember to back up your database before running any update queries to prevent data loss.
If you are not comfortable running database queries or do not have direct access to the database, you may need to contact the Elsa support team or the community for assistance on how to best apply this change to your environment.
This comment was generated by Glime.
from elsa-core.
Related Issues (20)
- [BUG]In the api "elsa/api/workflow-instances/{instance_id}" result,"JSON.workflowState.activityExecutionContexts" is empty? HOT 1
- [BUG]Why the "ActivityExecuted" Implement Can't get the "Completed" status of Container activity HOT 1
- [BUG]Why the "ActivityExecuted" Implement Can't get the "Completed" status of Container activity? HOT 1
- How to disable built-in activities registration? HOT 3
- [ENH] Increase stability and performance of publishing workflow definition HOT 1
- Elsa.Samples.AspNet.DynamicActivityProvider import json error HOT 1
- Pending modelchanges Elsa 2.14.1 HOT 1
- [BUG] Elsa has references to obsolete nuget package MassTransit.Extensions.DependencyInjection HOT 2
- [BUG] There is no `CurrentValue` variable in the For Loop Activity HOT 1
- [BUG] Cannot use Elsa: `Scheme already exists: Bearer` HOT 5
- [BUG]Email sending failed HOT 1
- [BUG] Exception 'Activity Descriptor Not Found' After Windows Update HOT 1
- [BUG] ParallelForEach Behavior Inconsistency HOT 2
- [BUG] C# scripting memory leak HOT 1
- [BUG] Elsa.UseMongoDb() options.DatabaseName does not set Database HOT 1
- [BUG] The call is ambiguous between the following methods or properties: Microsoft.AspNetCore.Mvc.Versioning with .net8 HOT 1
- [BUG] Returning Null from Elsa Mediator handler SendAsync throws InvalidCastException HOT 1
- [BUG] Error running project HOT 1
- [BUG] IFormFile in c# scripting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elsa-core.