State Machine Changes Not Reflecting After Cache Clear & Rebuild

Hi Team,
I have been working with the state machine in Spryker and made some changes, but they are not reflecting in the system. I have already cleared the cache and tried rebuilding, but the issue persists.
Previously, whenever I made changes to the state machine, they were reflected instantly. However, this time, the changes are not applying as expected.
I am using the latest Demoshop B2B Marketplace 202410. Is there any known issue or additional steps I should take to ensure the changes are applied?
Any insights would be appreciated!
Answers
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,103 βοΈ - Guardians (admin)
Heyhey @bhupendra.doniwal ,
have you tried
console oms:process-cache:warm-up
already? Andriy and myself introduced some caching for OMS last year at an internal hackathon. This caching improved the performance for big Order Management Processes a lot.All the best,
Florian
0 -
Hey @fsmeier,
Thanks for the info! I tried running
console oms:process-cache:warm-up
, but it seems the command isn't available in our setup. I also checked the list of OMS commands, but itβs not there.Is there any additional setup required to enable this command? Or could it be part of a specific module that we might be missing?
Looking forward to your insights!
Bhupendra
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,103 βοΈ - Guardians (admin)
Heyhey @bhupendra.doniwal ,
hmpf.. you are right. In the 202410.0 b2b-demo-marketplace version it includes the dedicated
spryker/oms
package but somehow the console command was forgotten to be integrated as well. :( I am sorry for that, its already fixed in master.The following commit gives you an idea what you should add to your shop to make it work (just everything
process-cache
related(!) ignore the other changes):Hope this can solve it.
All the best,
Florian
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 81 Spryker News
- 961 Developer Corner
- 815 Spryker Development
- 91 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 36 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 29 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
- 33 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random