Help · Chapter 13

Workflows

A workflow is a named routine made of forms. It says which forms belong to it, which form it starts on, and what each button on those forms does: which form or workflow it opens, what it hands over, and where Save and Back go. Forms only say what people see; the workflow says what happens.

Projects use published workflows. Each workflow becomes a button on the project's page. For example, a "Daily" workflow might start on a menu form with buttons for "Sleep", "Meals" and "Bowel chart", each opening its own form.

Making a workflow

  1. On the Design home page, under New workflow, type a Name and click + New workflow. Or right-click Library in the sidebar and choose New workflow.
  2. The workflow editor opens.
  3. Add its forms, choose the starting form, and set up the buttons (see below).
  4. Click Publish.
  5. Add the workflow to a project in the project's settings, under Workflows.
Important: Only published forms can be added to a workflow. Publish each form first.

The workflow editor

Top bar

  • ← and the crumb Workflows.
  • The workflow's name. Click it to change it.
  • The version labels (see the Designing: the basics chapter).
  • More, with Discard changes (when there is a draft and a published version) and Duplicate (owner only).
  • Save draft (available when there are unsaved changes).
  • Publish.

Tabs

TabWhat it's for
Click-throughThe forms, the starting form, and what each button does
MapA picture of all the forms, with arrows between them
Fill-insThe {words} the forms use, with defaults
RulesRules from blocks for the workflow (Off or On)
ShareSharing the workflow with other Designers (owner only)

If someone shared the workflow with you to edit, the editor says: "Shared with you to edit. You can change and publish it and its forms; only its owner can delete, copy or share it."

If you try to leave with unsaved changes, kep7 asks: "This workflow has changes that aren't saved. Leave without saving them?"

The Click-through tab

The Click-through tab has three columns.

Left: its forms

This lists the workflow's forms. A star marks the starting form.

  • Click a form's name to show it in the middle.
  • Under each form is its version: Latest (version N) (the usual) or a fixed Version k. With Latest, publishing a new version of the form reaches this workflow straight away. Choose a fixed version to keep this workflow on that version even after the form changes.
  • Click ✕ to take a form out of the workflow. This also removes what its buttons did here, and any buttons, Save or Back that went to it. If it was the starting form, the first remaining form becomes the start.
  • Description: a note about the workflow.

A workflow can have up to 200 forms.

Adding a form

  1. Click + Add a form….
  2. Pick one of your published forms that isn't in the workflow yet.

If you have no published forms, kep7 says: "Publish a form first; then it can be added here." Buttons can only open forms in this list.

Choosing the starting form

Under Starts on, pick the form the workflow opens on. Or show a form and click Start the workflow on this form instead on the right.

Who or what entries are about

Some information is recorded about someone or something that doesn't sign in: a student, a client, a pump, a room. kep7 keeps that apart from who recorded it, so several people (a teacher, an aide, the student themselves) can record about the same student, each from their own point of view.

  1. Make a form that lists them, e.g. Students with a short text question for the name, and add it to the workflow.
  2. Under Entries are about (below Starts on), choose A record of Students. Type the words to ask, e.g. "Which student?" (otherwise "Who or what is it about?").
  3. Publish the workflow.

Or, under Entries are about, choose A line of the list and one of your published lists, e.g. Rooms. A list suits a fixed set that only a Designer changes; a form suits people adding more as they go, each with details of their own. With a list, every form in the workflow asks, and each line has its own page (open it from an entry's About: link) listing everything recorded about it.

Now every other form in the workflow asks "Which student?" at the top. People type to find one and tap it; it stays chosen for their next entry, and Change picks another. An entry can't be saved without one. The Students form itself doesn't ask.

Each entry keeps who it's about, who recorded it, and the people groups they were in then (their perspective). Other details, like the lesson or the occasion, are ordinary questions. Then:

  • An entry's page says About: with a link to the record.
  • The record's own page lists everything Recorded about this, with who recorded each and their groups.
  • Dashboards get an About choice beside the dates, to show only what was recorded about one record.
Tip: The people or things listed don't need kep7 accounts. Only the people recording do.

Middle: the form as people see it

The middle shows the chosen form exactly as people will see it, with a trail of crumbs at the top.

  • Tap a menu button to go into the form it opens. Click a crumb to go back.
  • Greyed buttons aren't set up yet; only you see them.
  • Answers here aren't saved.
  • Special buttons explain themselves. For example a button that opens another workflow says: "This button opens another workflow: its starting form, and comes back here. (Here, it stays put.)"

Right: this form in this workflow

The right column shows settings for the shown form, in this workflow only:

  • Either "The workflow starts on this form." or a list "Opened by these buttons:".
  • Its menu in this workflow (or Menu 1 in this workflow and so on, if there are several menus). This is where you set up the buttons.
  • For each question whose answers are set by the workflow, a section with that question's answers in this workflow.
  • Save and Back.
  • The link Open this form in the designer, to change what the form shows.

If the form has no menu, kep7 says: "This form has no menu. To give it buttons, place a Menu on it in the form designer." If the menu's buttons are set on the form itself (Form list), it says so, and you change them in the form designer instead.

Setting up a menu's buttons

Menus are set up with the same menu settings wherever they appear.

Buttons per row

1, 2 or 3 (2 is the usual).

Button colour

The colour for the whole menu.

The list of buttons

The Buttons list shows one row per button, with its look, its words (in grey, the name of what it opens, until you type your own), and its kind: Button, Group · N buttons, Records a tap or Reminder. Use the up and down arrows to reorder, and ✕ to remove. Click a row to open its settings.

To add, click one of:

  • + Add a button
  • + Add a group (see Groups)
  • + Add a button that records a tap (see Buttons that record a tap)

A menu can have up to 30 entries. Button words can be up to 60 characters.

Groups

+ Add a group adds a button that opens in place to show its own buttons. Give it a Group name. Inside a group use + Add a button to this group or + Add a button that records a tap.

Buttons that record a tap

+ Add a button that records a tap: give it Button words. It opens nothing; tapping it records the buttons tapped to get here, this one last, straight away.

A normal button's settings

  • Opens (see Wiring buttons).
  • Fill in on the form it opens (see Handing things over).
  • Reminder: stands out until it's done today (see Reminders).

Button text

Leave it empty to use the name of the form it opens.

Look

Colour, icon, picture, Picture only and picture size.

Wiring buttons

Wiring means choosing what each button does.

  1. On the Click-through tab, show the form with the menu.
  2. On the right, under Its menu in this workflow, click the button's row.
  3. Under Opens, choose:
    • Nothing yet (hidden from people)
    • one of the workflow's other forms, or
    • Workflow: and a workflow's name, to call another workflow.
  4. Save the draft.

Buttons that open nothing are hidden from everyone but you, the Designer. A form that is no longer in the workflow shows "(not in this workflow)".

Tip: On the Click-through tab you can tap a wired button in the middle column to go into the form it opens and wire that form's buttons next.

Calling another workflow

A button can open another published workflow: one of your own, or one shared with you. It opens that workflow's starting form, and comes back here afterwards.

For such a button, choose If the person can't use that workflow:

  • Hide it: people without access to that workflow don't see the button.
  • Show it greyed out: they see it, but can't use it.

Save and Back

For each form, under Save and Back:

  • After Save, go to: The form before (usual), This form again, or another of the workflow's forms.
  • Back goes to: The form before (usual) or another form.

This form again suits forms people fill in several times in a row.

Handing things over between forms

Under Fill in on the form it opens, a button can hand words or answers to the form it opens. Pick what the button opens first; until then it says "Pick the form it opens first."

  1. Click + Fill in something (up to 20 per button).
  2. Choose what it fills in: A word for its text… (a {word} in the form's text) or Answer: and a question on that form.
  3. Choose where the value comes from: This value: (type a fixed value) or This form's answer to: and a question here.
  4. For answers, choose Can be changed on that form; otherwise the answer is locked.

A word must be letters and digits starting with a letter. Words this form was given carry on to the form it opens too; a word set here takes their place.

For example, a "Meals" menu could have buttons "Breakfast", "Lunch" and "Dinner" that all open the same "Meal" form, each filling in the answer "Which meal" with its own value, locked.

Reminders and "Done when"

A reminder is a button that stands out until it's done today. Reminders are buttons on forms; kep7 doesn't send reminder emails.

Making a button a reminder

  1. Open the button's settings.
  2. Turn on Reminder: stands out until it's done today.
  3. Choose Done when recorded by: Anyone in the project, Anyone in the person's own group or The person themselves.
  4. If you like, set Due by (optional) to a time.
  5. Choose the Colour once done.

A reminder can only open one of the workflow's own forms, not another workflow.

Done when

For a reminder that opens a form, two more settings appear:

  • Answer to show once done: The first answer (usual) or a chosen question. This answer shows on the button once done.
  • Done when: when the reminder counts as done. Choices include Automatic: it's been recorded today, Automatic: "[question]" is Yes, It's been recorded today (any answer), or a chosen question being a chosen answer.

Dashboards can show reminders day by day with the Buttons by day block (see the Project settings and dashboards chapter).

Answers set by the workflow

On a form, a Tap one or more question can be set to Workflow list, so each workflow gives it its own answers. On the Click-through tab, the right column shows a section for each such question.

  1. Type an answer and press Enter. Repeat for each answer.
  2. Tick Start on the answer that should be picked to start with (only one, for pick-one questions).
  3. Click Colour and icon to set its look.
  4. Use the up and down arrows to reorder, and ✕ to remove.

With no answers, the form shows its holding text. Answers with the same words count together, whichever workflow they came from.

The Fill-ins tab

Fill-ins are {words} in braces on the workflow's forms, such as {name}. Each project gives its own value; otherwise the default here is used.

Adding a fill-in

  1. Click + Add a fill-in (up to 50).
  2. Type the Word (up to 31 characters).
  3. Choose the Kind: Text, Number or On/off.
  4. Type a Default if you want one.
  5. Turn on Must have a value if a form using it can't be used until the project sets one (unless there's a default).
  6. Add Help for whoever sets the value (optional).

Click Remove to delete a fill-in.

Words found on the forms

Used on the forms but not set up here

Used on the forms but not set up here lists each {word} found on the forms that isn't a fill-in yet. Click Set it up to add it.

Short names (answers)

Short names (answers) lists each question short name, such as {weight}, and which question and form it comes from. These are set on the question in the form designer.

The Map tab

The Map tab shows every form as a small picture, with arrows showing which button opens which form.

  • Drag a form by its name to move it. Click its name to open it.
  • Each card notes Opens on this form, Opened by a button or Nothing leads here.
  • Click Tidy up to arrange the forms automatically.
  • Drag a published form from the sidebar onto the map to add it. If it isn't published, kep7 says "That form isn't published yet. Publish it first, then it can be added."

Positions on the map save straight away and don't count as unsaved changes.

Tip: Look for Nothing leads here on the map. It usually means a form needs a button pointing to it.

The Rules tab

The Rules tab turns workflow rules Off or On. New workflows start Off. With rules on, you can open a chosen form next, offer extra buttons, end the workflow, show messages, stop a save, send emails, and run rules once a day. See the Rules chapter.

Sharing a workflow

Only the owner can share a workflow. Open the Share tab, or right-click the workflow in the sidebar and choose Share….

Note: To let someone fill in a workflow's forms, don't share the workflow. Invite them to a project that uses it instead (open the project's settings, then Members). They don't need a Designer account.

Kinds of sharing

KindWhat the other person gets
Give a copyTheir own copy, with its forms, lists and pictures. After that the two are separate.
Edit with meThey can change and publish this workflow and its forms. It stays yours; they can't delete, copy or share it.
Use in their own projects (Designers)Another Designer can add it to their own projects, but can't change it. When you publish a new version, their projects get it too. This is the default.
Hand it overIt becomes theirs, with its forms. Forms your other workflows also use stay yours, and they get copies. You can still use it in your own projects, so they keep running. One person only.

Sending a share

  1. Choose the kind of sharing.
  2. Type the Email addresses, separated by commas or new lines. Or choose Or everyone in one of your groups (not for handing over).
  3. Click Send invitation (or Hand it over).

They accept or decline on their kep7 home page. Nothing is shared until they accept.

Who it's shared with

The list Who it's shared with shows each person, the kind of sharing and its status:

  • Invited, open until a date (UTC)
  • Has access
  • Copy given
  • Handed over
  • Declined
  • Expired
  • Taken back

Click Withdraw to cancel an open invitation, or Take back to end access someone has.

Saving and publishing

  • Save draft keeps your changes. kep7 says: "Draft saved. Publish it to change the projects that use this workflow."
  • Publish saves the draft first if needed, then checks that a starting form is chosen, every form is still one of your published forms, fixed versions exist, buttons are valid, pictures are yours and rules are valid.
  • If all is well: "Published version N. Projects using this workflow show it now."

Deleting a workflow used in projects stops it being usable there while it's in the Recycle bin. Restoring it puts it back.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.