Provide overlay with parameters on item detail for state transitions


Overlay with parameters could be shown on item detail when status was changed. 
To configure which parameters should appear, script with event type SetParametersBeforeStateTransition should be configured for the list. Parameters from formula of this script would be shown on the overlay. Several scripts with eventtype  SetParametersBeforeStateTransition  can be configured. All parameters from all formulas will be shown, the code of these parameters should be unique accross all scripts for this list. The overlay title can be configured in Prerun of SetParametersBeforeStateTransition  script, only one script should define overlaytitle if several are configured for current list. After this you can retrieve parameters by code in BeforeStateTransition script, also there is predefined Parameter called "WasOverlayShown" to let scripwriter know was overlay shown.