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..

Moin Guys! I’m currently learning Spryker and working on the OMS and State Machine Article in the Bo

U016ZN12N4A
U016ZN12N4A Posts: 20 🧑🏻‍🚀 - Cadet
edited July 2020 in Help

Moin Guys!
I’m currently learning Spryker and working on the OMS and State Machine Article in the Bootcamp.
According to the Tutorial and documentation all I have to do to see the Demo01 StateMachine is to create a Demo01.xml in config/Zed/oms/ and fill it with

<?xml version="1.0"?>
<statemachine
    xmlns="spryker:oms-01"
    xmlns:xsi="<http://www.w3.org/2001/XMLSchema-instance>"
    xsi:schemaLocation="spryker:oms-01 <http://static.spryker.com/oms-01.xsd>">
    <!-- Used as example XML for OMS implementation -->

    <process name="Demo01" main="true">
        <states>
            <state name="new"/>
        </states>

        <transitions>
        </transitions>

        <events>
        </events>

    </process>
</statemachine>

add it to config/Shared/config_default.php like this:

$config[OmsConstants::ACTIVE_PROCESSES] = [
    'DummyPayment01',
    'Demo01'
];

refresh zed.de.spryker.local/oms and it should be visible - which it isn’t

things I tried:
• restart docker
• remove DummyPayment01 from $config
Environment: b2b-shop in docker

What did I do wrong? - Thx for your help

Comments

  • U016ZN12N4A
    U016ZN12N4A Posts: 20 🧑🏻‍🚀 - Cadet

    nvm. I updated the config_default-docker.php a hint in the documentation would be cool 😄