Create custom form and save revision log and node workflow state programmatically.