Calling Developers!
We are reenergizing our code contribution process! Learn More

I want to allow transition in state machine for certain user roles only

mohammed.shamim Posts: 33 🧑🏻‍🚀 - Cadet

I have a button in OMS state machine and I m getting access denied when i click on the button.


  • Salmanali Agharia
    Salmanali Agharia Software Engineer Posts: 7 🧑🏻‍🚀 - Cadet

    Hi @mohammed.shamim ,

    Can you please share the details of the environment in which you're facing this issue and screenshot of the page ?


  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,029 ⚖️ - Guardians (admin)

    Heyhey @mohammed.shamim ,

    How does your Order Management State Machine look like?

    All the best,


  • mohammed.shamim
    mohammed.shamim Posts: 33 🧑🏻‍🚀 - Cadet

    we are using oms module and defined all action/transition in a xml file. recently we added some roles to restrict the action from backoffice user. but due to that some action button that appear during the state machine transition , on click give access prohibited!