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

Good morning, I have a question on Spryker's state machine: Does anybody know what the return value

UPDV9V3ST
UPDV9V3ST Posts: 21 🧑🏻‍🚀 - Cadet

Good morning, I have a question on Spryker's state machine: Does anybody know what the return value of the run method in CommandByOrderInterface means? Most implementations I've seen so far just return an empty array.

Comments

  • good one

  • it’s a very old concept. don’t have an answer from the top of my head. i will pass this on internally!

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

    So far internally there was only one feedback:

    it's an array you will receive as a last argument of a consequent calls.
    Like 'state data'.
    
    I've used it once to pass additional information during recursive events triggering.
    
    The best way to learn - check how this works in the Core code.
    
  • i would recommend not to use it