Files
questions/aggregates.yaml
T

206 lines
4.9 KiB
YAML
Raw Normal View History

aggregates:
- bucket: applicants
initial: open
states:
active:
event: onboarded
declined:
event: declined
departed:
event: departed
invited:
event: invited
open:
event: applied
transitions:
active:
- departed
- declined
invited:
- active
- declined
open:
- invited
- declined
- bucket: custody_requests
initial: open
states:
declined:
event: declined
mail:
body: |-
Hello {name},
What you sent about an answer from a custodian, and action where the network keeps something it should not is now declined.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Declined'
to: submitter
in_dialogue:
event: in_dialogue
open:
event: received
mail:
body: |-
Hello {name},
We have received what you sent about an answer from a custodian, and action where the network keeps something it should not.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Open'
to: submitter
resolved:
event: resolved
mail:
body: |-
Hello {name},
What you sent about an answer from a custodian, and action where the network keeps something it should not is now resolved.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Resolved'
to: submitter
transitions:
in_dialogue:
- resolved
- declined
open:
- in_dialogue
- declined
- bucket: development_proposals
initial: open
states:
approved:
event: approved
open:
event: proposed
rejected:
event: rejected
transitions:
open:
- approved
- rejected
- bucket: organizations
initial: prospect
states:
client:
event: became_client
past_client:
event: churned
prospect:
event: identified
transitions:
client:
- past_client
prospect:
- client
- past_client
- bucket: projects
initial: open
states:
accepted:
event: accepted
mail:
body: |-
Hello {name},
What you sent about a considered reply to a brief, from people who read the whole thing is now accepted.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Accepted'
to: submitter
declined:
event: declined
mail:
body: |-
Hello {name},
What you sent about a considered reply to a brief, from people who read the whole thing is now declined.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Declined'
to: submitter
open:
event: submitted
mail:
body: |-
Hello {name},
We have received what you sent about a considered reply to a brief, from people who read the whole thing.
What you can do next: {site}/decide/commission?chain={chain}&email={email}
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Open'
to: submitter
transitions:
open:
- accepted
- declined
- bucket: subscribers
initial: open
states:
open:
event: subscribed
unsubscribed:
event: unsubscribed
transitions:
open:
- unsubscribed
- attended_by: |
approved -> previewed: the n8n workflow that builds the draft site from an approved intake (docker, rauthy, portal content) and sends the preview link. Until it exists, owners run portal-trainer by hand and press the button.
bucket: trials
initial: open
states:
approved:
event: approved
mail:
body: |-
Hello,
What you sent about a first draft of a site for their own roles, built from their own words and approved by a person first is now approved.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Approved'
to: submitter
declined:
event: declined
mail:
body: |-
Hello,
What you sent about a first draft of a site for their own roles, built from their own words and approved by a person first is now declined.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Declined'
to: submitter
open:
event: received
mail:
body: |-
Hello,
We have received what you sent about a first draft of a site for their own roles, built from their own words and approved by a person first.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Open'
to: submitter
previewed:
event: previewed
mail:
body: |-
Hello,
What you sent about a first draft of a site for their own roles, built from their own words and approved by a person first is now previewed.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Previewed'
to: submitter
transitions:
approved:
- previewed
- declined
open:
- approved
- declined