Docs SmartApps

Lanes, nodes and arrows

The elements of a process drawing and their properties.

Node types

NodeProperties
starttrigger: form | criterion | schedule | event
screenscreen; role; active_for; on_timeout; variables_in; variables_out; email; notify
decisionexpression; default arrow
split · joinbranches; join: all | first
waituntil: date | clock | event; timeout
notifychannel; recipients; template; buttons
write_backhandler; operation; mapping; on_error: retry(n) | hold | route(role)
sub_processapp; version; wait: true
endoutcome code

Arrows

An arrow has a source node, a target node and an optional criterion. A decision node takes the first arrow whose criterion holds, then its default arrow. A loop is an arrow to an earlier node; a note is usually required on the way.

Example

lanes: [customer_or_agent, service_agent, assessor, system]
nodes:
  start      (customer_or_agent) trigger: form S01
  S01 lookup (service_agent)     screen S01, active_for 1 working_day
  covered?   (service_agent)     decision
  S03 assess (assessor)          screen S03, active_for 1 working_day → escalate(service_manager)
  order      (system)            write_back dh_service_order.create, on_error retry(3)
arrows:
  start → S01
  S01 → covered?
  covered? → order      when coverage == 'covered'
  covered? → S03 assess when coverage == 'assess'
  S03 assess → order    when app.decision == 'approve'