To attach custom form to a state transition (user doing the state transition will be asked to fill these forms)
From the toolbar click +
Under configure modules section click for workflow
Click
Note:Make sure that the custom form is attached to the process.
Select the process and click
Go to → select the forms that you want associated with the state transition.
Click