Skip to content

Instantly share code, notes, and snippets.

@msolli
Last active March 4, 2019 11:32
Show Gist options
  • Save msolli/561e09532aa6364306db9d836c6c8a9c to your computer and use it in GitHub Desktop.
Save msolli/561e09532aa6364306db9d836c6c8a9c to your computer and use it in GitHub Desktop.
Candidates
Candidates
# Candidates that are visible to the recruiter
Active
# Should send out rejection notice by email
reject -> Rejected
# Send email to applicant: congratulations, also: withdraw
# other applications/processes? This is not an explicit action
# by the recruiter, but happens as part of the close process action.
hire -> Hired
# Applicant can withdraw from process
withdraw -> Inactive
# When an application is archived, so are the candidates
archive -> Archived
Inactive
archive -> Archived
Withdrawn*
# Applicant can re-activate after withdrawal
activate -> Active
Rejected
Hired
Archived
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment