(domain, app_id, form_unique_id, logged_subevent=None)
Returns (app, module, form, error, error_code)
Returns (app, module, form, error, error_code)
Returns ( app module form error error_code )
def get_app_module_form(domain, app_id, form_unique_id, logged_subevent=None):
    """
    Returns (app, module, form, error, error_code)
    """
    try:
        app = get_app(domain, app_id)
        form = app.get_form(form_unique_id)
        module = form.get_module()
        return (app, module, form, False, None)
    except:
        log_error(MessagingEvent.ERROR_CANNOT_FIND_FORM, logged_subevent)
        return (None, None, None, True, MSG_FORM_NOT_FOUND)
def get_app_module_form ( domain , app_id , form_unique_id , logged_subevent = None ) : try : app = get_app ( domain , app_id ) form = app . get_form ( form_unique_id ) module = form . get_module ( ) return ( app , module , form , False , None ) except : log_error ( MessagingEvent . ERROR_CANNOT_FIND_FORM , logged_subevent ) return ( None , None , None , True , MSG_FORM_NOT_FOUND )