Privacy Act request pending - department-of-veterans-affairs/caseflow GitHub Wiki
Summary
The Appellant Notification module will notify an appellant when the appeal has been assigned to the Privacy Team. This happens at the request of the appellant. There are several types of tasks associated with this request: FoiaColocatedTask, FoiaTask, FoiaRequestMailTask, HearingAdminFoiaPrivacyRequestTask, PrivacyActTask, and PrivacyActRequestMailTask. There are three different ways for a pending Privacy Act request to occur:
- The attorney creates and assigns a FoiaColocatedTask/FoiaTask/PrivacyActTask to a Privacy Act Team user on the appeal's case details page. (Note: The FoiaTask has to be a child of a FoiaColocatedTask, so the appeal needs to already have a FoiaColocatedTask in order to create a FoiaTask. Additionally, the PrivacyActTask also has to be a child of a colocated task, but it doesn't have to be specifically a FoiaColocatedTask.)
- The hearing coordinator creates and assigns a HearingAdminFoiaPrivacyRequestTask to a hearing coordinator on the appeal's case details page.
- The Privacy Act Team creates and assigns a FoiaRequestMailTask/PrivacyActRequestMailTask to Privacy Act Team user on the appeal's case details page.
Prepended Methods
There are three prepended methods used to track the Privacy Act request pending status.
- FoiaColocatedTask/FoiaTask: The method used to create this task is
create_privacy_act_task
located inapp/models/tasks/foia_colocated_task.rb
. - FoiaRequestMailTask/PrivacyActRequestMailTask: The method used to create these tasks is
create_twin_of_type(params)
located inapp/models/mail_task.rb
. - HearingAdminFoiaPrivacyRequestTask/PrivacyActTask: The method used to create these tasks is
create_child_task(parent, current_user, params)
located inapp/models/task.rb
.
SMS and Email Templates