(cls, form, archive, user_id, trigger_signals)
Un/archive form

        :param form: the form to be archived or unarchived.
        :param archive: Boolean value. Archive if true else unarchive.
        :param user_id: id of user performing the action.
Un/archive form
Un / archive form
def do_archive(cls, form, archive, user_id, trigger_signals):
        """Un/archive form

        :param form: the form to be archived or unarchived.
        :param archive: Boolean value. Archive if true else unarchive.
        :param user_id: id of user performing the action.
        """
        args = [form, archive, user_id, trigger_signals]
        args_json = [form.form_id, archive, user_id, trigger_signals]
        system_action.submit(ARCHIVE_FORM, args, args_json, form.domain)
def do_archive ( cls , form , archive , user_id , trigger_signals ) : args = [ form , archive , user_id , trigger_signals ] args_json = [ form . form_id , archive , user_id , trigger_signals ] system_action . submit ( ARCHIVE_FORM , args , args_json , form . domain )