Skip to main content

Full Variable List

This page provides a comprehensive and exhaustive reference of all built-in variables available in Workflow Docs.

1. Built-in Nouns (People)

These variables represent individuals or groups. They are pre-defined as either ALIndividual (singular) or ALPeopleList (plural).

Singular Roles (ALIndividual)

Use these as-is (e.g., {{ spouse.name.first }}).

VariableDescription
clientThe primary client on the case.
spouseThe client's spouse.
advocateThe person running the interview.
notary_publicA notary public.
plaintiffThe plaintiff in the case.
defendantThe defendant in the case.
petitionerThe petitioner.
respondentThe respondent.
legalserver_primary_assignmentThe primary staff member assigned to the case.
legalserver_first_pro_bono_assignmentThe first pro bono assignment record.
legalserver_latest_pro_bono_assignmentThe most recent pro bono assignment record.
legalserver_current_userThe currently logged-in LegalServer user.

Plural Roles (ALPeopleList)

Access individual items using index notation (e.g., {{ clients[0] }}, {{ witnesses[1] }}).

VariableDescription
clientsPrimary client(s).
other_partiesOther parties on the case.
plaintiffs / defendantsParties in litigation.
petitioners / respondentsParties in family or probate matters.
childrenChildren involved in the matter.
witnessesCase witnesses.
trustees / successor_trusteesTrust-related roles.
settlors / beneficiariesTrust-related roles.
guardians / executorsFiduciary roles.
agents / attorneysRepresentative roles.
representativesGeneral representatives.
petsPets involved in the matter.
charitiesCharitable organizations.
healthcare_proxies / healthcare_agentsMedical representatives.
medical_proxiesMedical representatives.
funeral_directorsFuneral arrangements.
financial_advisors / insurance_agentsProfessional contacts.
property_managers / real_estate_agentsProperty-related roles.
digital_executorsDigital asset management.
business_partnersBusiness-related roles.
trustees_of_special_needs_trustSpecialized trust roles.
trustees_of_charitable_trustSpecialized trust roles.
notariesNotary publics (list).
legal_counsels / attorneysLegal representation.
accountants / mediators / arbitratorsProfessional neutrals.
depositaries / fiduciariesFinancial/trust roles.
estate_plannersProfessional contacts.
guardians_ad_litem / conservatorsCourt-appointed roles.
administratorsEstate administrators.
borrowers / lendersLending roles.
co_signers / guarantorsLending roles.
service_providers / vendorsService roles.
licensees / licensorsLicensing roles.
purchasers / sellers / buyersReal estate/transactional roles.
escrow_agents / closing_agents / title_agentsTransactional roles.
mortgage_lenders / home_inspectorsTransactional roles.
property_surveyorsTransactional roles.
prosecutors / defense_attorneysCriminal law roles.
judges / jurors / bailiffsCourt roles.
court_reportersCourt roles.
public_defenders / forensic_expertsSpecialized legal roles.
victim_advocatesSupport roles.
law_enforcement_officersOfficial roles.
divorcing_partiesFamily law roles.
child_custody_partiesFamily law roles.
alimony_recipientsFamily law roles.
family_attorneysFamily law roles.
parental_rights_partiesFamily law roles.
domestic_relations_counselsFamily law roles.
child_support_obligors / child_support_recipientsFamily law roles.

2. LegalServer Data Variables

These variables represent raw data or lists fetched directly from LegalServer.

VariableDescription
legalserver_dataThe raw JSON dictionary of case details. See the LegalServer Data Reference for a detailed field map.
legalserver_caseA helper object for accessing core case fields.
legalserver_assignmentsList of staff assignments.
legalserver_servicesList of services provided.
legalserver_litigationsList of litigation records.
legalserver_chargesList of charges (criminal cases).
legalserver_contactsList of case contacts.
legalserver_incomesList of income records.
legalserver_notesList of case notes.
legalserver_eventsList of calendar events.
legalserver_tasksList of matter tasks.
legalserver_adverse_partiesList of adverse parties.
legalserver_non_adverse_partiesList of non-adverse parties.
legalserver_pro_bono_assignmentsList of pro bono assignments.
legalserver_siteInformation about the LegalServer site.

3. Addresses

Addresses can be accessed for any individual or list item using these attributes:

Variable / AttributeDescription
trial_court_addressAddress of the trial court.
appeals_court_addressAddress of the appeals court.
users[i].addressPrimary address.
users[i].mailing_addressMailing address.
users[i].service_addressAddress for service of process.
users[i].previous_addressesList of previous addresses.
users[i].other_addressesList of other addresses.

4. Case and Docket Numbers

VariableDescription
docket_numbersA list or string of docket numbers.
case_numbersA list of case numbers.
court_case_numberThe primary court case number.
legalserver_matter_uuidInternal LegalServer UUID.
legalserver_site_abbreviationSite name (e.g., abc).
legalserver_site_typeUsually live or demo.

5. Personal Information

Available for any ALIndividual or item in an ALPeopleList (replace users[i] with your variable name).

AttributeDescription
users[i].nameThe full name object.
users[i].ssnSocial Security Number.
users[i].ssn_last_4Last 4 digits of SSN.
users[i].birthdateDate of birth.
users[i].genderGender.
users[i].marital_statusMarital status.
users[i].emailEmail address.
users[i].phone_numberPrimary phone.
users[i].mobile_numberMobile phone.
users[i].fax_numberFax number.
users[i].preferred_languagePreferred language.
users[i].pronounsPreferred pronouns.
users[i].aliasesList of aliases.
users[i].previous_namesList of previous names.
users[i].signatureSignature object.
users[i].programAssociated LegalServer program.
signature_dateThe date the document is generated/signed.

6. Signatures and Affirmations

Variable / AttributeDescription
users[i].signatureThe signature field/image.
users[i].states_above_trueBoolean for affirmation of truth.
signature_choiceMethod used to sign.
signature_wait_screenScreen shown while waiting for others.
signature_phone_followupFollow-up status for phone signatures.
should_cc_userBoolean for whether to CC the advocate.
cc_emailThe email address to CC.

7. Document Handling & Miscellaneous

VariableDescription
comments_to_clerkInstructions or comments for a court clerk.
adverse_parties[i].name.textFull name of an adverse party.
adverse_parties.there_is_anotherBoolean for whether there are more parties.
organization_holding_recordsName of organization with records.
payment_first_dateDate of first payment.
payment_second_dateDate of second payment.
payment_third_dateDate of third payment.
appointment_dateDate of appointment.
time_setBoolean for whether time is set.
appointment_timeTime of appointment.
attempted_contactBoolean for whether contact was attempted.
final_contact_dateDate of last contact.
documents_for_interviewList of documents relevant to the session.