Skip to content

Get Role Holder

Group
Clans & Roles
In the node menu
Clans & Roles › Get Role Holder
Where it can be used
Scheme graphs
Also found as
Get Clan Head

Get Role Holder looks at the court of a clan and finds one actor. Store In keeps that actor, so later nodes can pick them by name. If the role has no holder, Vacant runs and the variable is emptied.

With no role chosen, it finds the clan’s head. It is also known as Get Clan Head.

A Get Role Holder of the demo scheme Scheme 3: Propose a Match (Drafts/schemes/03-propose-a-match.json). It finds the Coin-Reeve of the target's clan and keeps them in the scheme variable Reeve.

Use it when a scheme needs the person in a seat, such as the Coin-Reeve of a clan, before later nodes act on them.

Use Check Role instead when you only need a yes or no about one actor.

  • The clan’s head is the living holder of the highest court role. If several hold it, the oldest is found.
  • A personal role finds the living member of the clan who has it. With several, the one with the highest court role, then the oldest.
  • If Several Hold It picks one holder when a court role has several seats.
  • An actor without a clan finds nobody, so Vacant runs. The flow stops only when the clan cannot be read at all.
  • Vacant empties the variable, so it never names an actor found earlier.
LabelDraft keyTypeDefaultShown if, tooltip and notes
ClanClanClanRef"of:Conspirator"The clan whose court is asked: the clan of an actor, a Clan variable or one clan of the database.
RoleRoleIDname of RolenoneThe court role whose holder is found (If Several Hold It says which one when the role has several seats). "The clan's head" finds the living holder of the highest-ranking court role. A personal role finds the living member of the clan who has it (the one with the highest court role, then the oldest, when several have it).
  • none: "The clan's head"
Store InStoreInStore In (Actor)not in the dataAn Actor variable of this scheme that gets the actor, so later nodes can pick it by name. It holds one actor for the whole scheme: storing into it again replaces it, even from another branch. Vacant empties it.
  • none: "Nowhere"
If Several Hold ItWhichranking"Oldest"

Shown if a Role is set

Which holder is found when the role has several seats.
  1. Found
  2. Vacant
"type"
"Get Role Holder"
Other "type" names
"Get Clan Head"
"set" keys
Clan, RoleID, StoreIn, Which
"then" keys
"Found", "Vacant"
"<alias>": {
"type": "Get Role Holder",
"then": { "Found": "<alias>", "Vacant": "<alias>" }
}