Wanted to understand how to open an existing flow in the editor window #1262
Replies: 2 comments
-
The flow definition is meant to be loaded via the revisions endpoint. Your flow will need to be served from there. Are you attempting to run outside of the context of RapidPro? If so you'll want to mimic what it's endpoints provide to satisfy the editor's expectations. I should also mention it's not currently a stated goal to run the flow editor independent of RapidPro, so your mileage may vary as you go down this path or if future versions of the editor are modified to accommodate the future needs of the platform. |
Beta Was this translation helpful? Give feedback.
-
Thanks @ericnewcomer for the tip. Our goal is to provide a hands-on trial of RapidPro using the floweditor to potential users to load and edit their flows, so that they can experience the platform's capabilities and get excited about subscribing to the SaaS offering. |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm trying to locally test opening flows in the editor and while browsing the issues I found an issue #60 somewhat related but not yet getting me to the intended goal.
I did successfully set up both the local version for a faux asset server plus development server for the editor as per the documentation.
However, I am still not succeeding in launching a given flow within the editor window even when I configure the flow_editor_config from the containing page. Is there something I am missing or would you be able to advise me on what other steps I need to do launch an existing flow (e.g https://github.com/nyaruka/floweditor/tree/main/src/test/flows) to show up in the editor.
Cc:
@ericnewcomer
Beta Was this translation helpful? Give feedback.
All reactions