What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Is it possible to draw a subprocess (statemachine) somehow? I'm able to draw the main process with

U018XELUZS9
U018XELUZS9 Posts: 167 🧑🏻‍🚀 - Cadet

Is it possible to draw a subprocess (statemachine) somehow?
I'm able to draw the main process with http://spryker.local/oms/index/draw?process=bigprocess&format=svg&font=14&state=
But when trying to draw the subprocess subprocess it fails: http://spryker.local/oms/index/draw?process=subprocess&format=svg&font=14&state=

Call to a member function draw() on null

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    I'm not sure if it's supposed to work but I can confirm the issue. Will clarify internally.

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Not much feedback except "we don't have it" and "why would someone need to export sub-process as it's easily searchable in svg". ¯_(ツ)_/¯

  • U018XELUZS9
    U018XELUZS9 Posts: 167 🧑🏻‍🚀 - Cadet

    why would someone need to export sub-process

    We're working on our statemachine and we copied a subprocess of that (Export02 -> Export03), but we still use Export02 in all places. Would be nice if my colleagues could checkout the new (yet unused) subprocess. We will include that eventually in the main process, but in terms of trunk based development or common CI guidelines, you want to use stuff like feature flags, etc. That's why I think this would be a helpful thing, merge the new subprocess now and be able to view that, without using that in a main process.

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    edited February 2021

    Sounds like idea for our product team. Could you create it please for them here - https://spryker.ideas.aha.io/? 🙂