Skip to main content
SearchLoginLogin or Signup

Video Tutorial: Using Conditional Logic in Docassemble Interviews

Sam Harden provides step-by-step instructions to build a Docassemble interview that has conditional logic. Video 3 of 3.

Published onDec 06, 2019
Video Tutorial: Using Conditional Logic in Docassemble Interviews
·

Video

Using Conditional Logic in Docassemble Interviews

Overview

Docassemble is a free, open-source expert system for guided interviews and document assembly, based on Python, YAML, and Markdown. Docassemble has strong implications for the potential of computational law because it is a free and straightforward tool for computing legal processes and legal functions.

This lesson provides an overview about how to use conditional logic Docassemble interview. Complete these steps and it is possible to start creating more dynamic user interviews to automate increasingly sophisticated tasks.


Microsoft Word

  1. Replace name of judicial circuit, county, from previous template. (Link)

Docassemble

  1. Open previous example interview, when you upload the new version of the template, there are now Undefined names for “circuit” and “county.” (Link)

  2. Update questions to incorporate questions for the conditional logic. Here, you will create a question, add information for fields, and add a series of choices for the possible counties that can be used (Link)

    Note: Conditional logic is a way to use features to determine which outcome a situation requires

  3. How fields assign values (Link)

  4. How logic blocks work in python (Link)

    Note: Some basic information about conditional logic is available on wikipedia. More information about programming in Python is available at Automate the Boring Stuff.


Want to learn more about what Sam Harden is up to?

Follow his latest work on his youtube channel, LegalTech School or check out his website samharden.github.io

Comments
1
?
Andersen Labs:

Go to the website and follow the instructions as they are laid out in the course if you want to get started. Seeing this video lesson on applying conditional logic in Docassemble interviews is required viewing for anybody who is interested in automating legal procedures and functions through the use of Docassemble. You will be able to learn how to automate difficult procedures and generate more dynamic user interviews if you follow the instructions in this lesson.