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..
morning π - at what point (if any) should you remove a deprecated state machine process from th
Comments
-
we've found the Order Matrix very useful, but it becomes increasingly less useful as you get more deprecated processes
0 -
(as an aside, we might try and aggregate orders by payment method rather than process)
0 -
Hey Daniel! I would say when youβre sure that all orders with old state machine processes are finished (came to final state).
0 -
and de-activating pre-maturely would mean that orders using that process would get stuck?
0 -
Not really.
0 -
As you remap your payment methods to new state machine process
0 -
i mean, orders using the old one. i.e. is "active processes" just a display setting
0 -
i don't think it is looking at the code, but might be wrong
0 -
so if I have an order which is using OldProcess01, and it's half way through that process
0 -
yes, but you need to be careful if you deleted some states
0 -
or changed the flow completely
0 -
i think you mean modifying an existing SM without rather than creating a new version?
0 -
I mean if some of your order items were in
deprecated state
and in your new state machine you have deleted this state you might have a problems0 -
about the slow changes
0 -
ah ok, i'm talking about replacing the process with a newer one, so older orders would follow the process that was active when they were created
0 -
Imaging you had payment flow with only
authorize
call and now you have in new state machinepre-authorize - capture
flow and item was somewhere in the middle. And now it will go throughcapture
process that leads to exceptions0 -
Just be careful )
0 -
but that's when you update an existing SM process without creating a new version or?
0 -
Ah, yes it is.
so older orders would follow the process that was active when they were created
Thatβs correct
0 -
so the question was really if you de-activate an old process, is it just that it's not shown in Zed, or will those orders stop being progressed?
0 -
(the answer should in anycase probably be as you suggested initially π to have at least visibulity of the older processes) - but then would be nice to have option on the order matrix to catregorize by payment method (or other things) rather than just the process name
0 -
that sounds like a good feature request for https://spryker.ideas.aha.io/ π
0 -
not really sure what my suggestion is exactly though, will create an idea when I've investigated more on our project
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 921 Developer Corner
- 781 Spryker Development
- 88 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random