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

Hello I have another question regarding transitions this time. Excerpt from

U024B3MTB5Y
U024B3MTB5Y Posts: 18 🧑🏻‍🚀 - Cadet
edited June 2021 in Help

Hello
I have another question regarding transitions this time.
Excerpt from https://documentation.spryker.com/docs/state-machine-cookbook#transitions

"The event element can be omitted. This way an external call like saveOrder or triggerEvent is finished. That means that the control flow of the code goes back to the invoking method."

It's not clear to me what does this actually mean.
If I have a transition without an event, will that transition be executed automatically?

Also what would be the use case of a transition without an event?

Comments

  • U024B3MTB5Y
    U024B3MTB5Y Posts: 18 🧑🏻‍🚀 - Cadet

    Found my answer in the "Checking conditions through a cronjob" section