elsa-designer-tree TypeError: activityDescriptor.inputProperties is not iterable
See original GitHub issueProject Context
Hello 👋! The company I work for is adding a workflow feature to our platform to let our users more easily connect our various products and I’m trying to get a rough proof of concept up with Elsa.
I’ve have the @elsa-workflows/elsa-workflows-studio@2.0.1
installed from NPM and am consuming the package from a react application. Currently, I have the elsa-studio-root
component embedded just to get things up and running.
The Problem
The component loads fine initially, but nothing happens when I try to add a new activity (repro: open activity modal from workflow definition screen and try to select an activity). The console has the following error
TypeError: activityDescriptor.inputProperties is not iterable
which is being thrown from here.
It seems like the ActivityDescriptor
type that the javascript is expecting doesn’t match the type that the API is returning
It’s weird though because I can’t repro when starting the API + Dashboard using docker
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
This worked, thanks for your help!
We decided to end up using this approach! On top of the permission stuff, there are some semantic differences between how we’re thinking of workflows and how Elsa thinks about workflows. There’s also a lot of UI that we’ll need that’s specific to our domain for which we have existing react libraries we could leverage. I do think the Elsa dashboard is really nice though, keep up the awesome work!
PS. I’m closing this issue since the original issue seems to have been resolved, but feel free to continue the conversation here, or separately in a different issue or discussion thread if you want to explore a specific topic further.