Skip to content

Instantly share code, notes, and snippets.

@gijoehosaphat
Last active March 5, 2019 20:58
Show Gist options
  • Save gijoehosaphat/3532418f8a21f1f4cb9ef7748d86d180 to your computer and use it in GitHub Desktop.
Save gijoehosaphat/3532418f8a21f1f4cb9ef7748d86d180 to your computer and use it in GitHub Desktop.
Retailer Onboarding*
Retailer Onboarding*
open email invitation -> Existing user?
Existing user?
yes -> Associated to Brand?
no -> Create Account
Create Account
create -> Connect to Brand
Associated to Brand?
yes -> Is invite for Perform or higher?
no -> Connect to Brand
Connect to Brand
connect -> Receive Activate Seat
Receive Activate Seat
receive -> Is invite for Perform or higher?
Is invite for Perform or higher?
no -> Application
yes -> Perform Seats in use less than max seats?
Perform Seats in use less than max seats?
Application
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