How to redirect one screen to another screen code example

some example of redirect one screen to another screen using transition

Welcome to the Moqui Forum!

A transition has a default-response url=<put url here> to set the url (See here). The url should often either be relative i.e. ../ExampleScreen or use a moqui uniform resource identifier (uri) like component://SimpleScreens/Customer/FindCustomer.xml.

<transition name="editCustomer"><default-response url="../EditCustomer"/></transition>

Hope this helps :slightly_smiling_face:

1 Like