WEBVTT

00:00:00.000 --> 00:00:02.124
I look after DocBits here.

00:00:02.549 --> 00:00:07.218
Let me show you how I build an invoice check
and connect its two routes.

00:00:09.995 --> 00:00:13.825
I start on Workflow Dashboard and open
Workflow List.

00:00:14.105 --> 00:00:15.405
Then I check License.

00:00:16.453 --> 00:00:21.393
Workflow and Advanced Workflow both need
active access.

00:00:22.243 --> 00:00:27.203
With those enabled, New Workflow offers
Advanced Workflow.

00:00:28.078 --> 00:00:33.878
This documentation account has no active
workflow subscription, so this video

00:00:33.878 --> 00:00:36.598
continues with an unsaved designer preview.

00:00:37.453 --> 00:00:40.353
I'm working in the real DocBits designer.

00:00:40.673 --> 00:00:42.793
First, I give this draft a clear name.

00:00:43.393 --> 00:00:47.913
We'll check an invoice amount, then use two
simple actions to show the

00:00:47.913 --> 00:00:48.893
possible routes.

00:00:49.533 --> 00:00:51.693
This demonstration stays unsaved.

00:00:52.370 --> 00:00:54.820
I open Add and choose And.

00:00:55.710 --> 00:00:59.570
Under Document Field, I select the Docfield
condition.

00:01:00.440 --> 00:01:02.620
I set the field to total amount.

00:01:03.590 --> 00:01:05.230
Then I choose Greater Than.

00:01:06.578 --> 00:01:08.108
And enter one thousand.

00:01:09.453 --> 00:01:12.733
Use your own document field key.

00:01:12.893 --> 00:01:15.833
Exactly one thousand does not pass this
comparison.

00:01:17.078 --> 00:01:20.418
Now I add a Then card from Document Field.

00:01:21.428 --> 00:01:23.808
The action sets a document field.

00:01:24.668 --> 00:01:27.468
I use the demonstration key approval route,

00:01:28.370 --> 00:01:29.840
and enter Approval.

00:01:30.790 --> 00:01:33.110
This labels the route.

00:01:33.630 --> 00:01:37.070
A real approval process needs its own
business actions.

00:01:37.995 --> 00:01:41.365
I add a second Then card using the same
action.

00:01:42.205 --> 00:01:44.585
The action sets a document field.

00:01:45.395 --> 00:01:48.195
I use the demonstration key approval route,

00:01:49.078 --> 00:01:52.738
This time, the demonstration field gets the
value Standard.

00:01:53.808 --> 00:01:55.348
Both cards are configured.

00:01:56.108 --> 00:01:59.368
They still need connections to define which
action runs.

00:02:00.370 --> 00:02:03.340
I drag the cards into a readable layout.

00:02:04.070 --> 00:02:06.050
The two actions go on the right.

00:02:06.860 --> 00:02:11.420
The condition sits in the middle, with Start
on the left.

00:02:12.340 --> 00:02:14.830
Moving cards changes their position.

00:02:15.370 --> 00:02:16.990
It does not create a connection.

00:02:17.870 --> 00:02:20.970
I drag from Start's output to the
condition's input.

00:02:22.078 --> 00:02:25.658
The Success route goes to Approval, with a
blue connection.

00:02:27.662 --> 00:02:31.172
The orange Failed Condition route goes to
Standard.

00:02:32.162 --> 00:02:36.242
Red Error is a separate output for
evaluation failures.

00:02:37.245 --> 00:02:39.465
Here it remains unconnected.

00:02:39.765 --> 00:02:43.565
In a production workflow, decide how you
will handle those failures.

00:02:44.287 --> 00:02:49.067
The toolbar Test button opens Select Test
Document.

00:02:49.995 --> 00:02:54.915
I can select a demonstration document, or
prepare complete Custom Data.

00:02:55.865 --> 00:02:59.845
Test amounts above, below, and exactly at
one thousand.

00:03:00.405 --> 00:03:02.005
Check a missing amount too.

00:03:02.912 --> 00:03:05.962
This account has no Advanced Workflow
subscription.

00:03:06.862 --> 00:03:10.142
I'm showing test preparation, not an
executed result.

00:03:10.995 --> 00:03:15.015
I locate Validate to check connections and
card settings.

00:03:15.735 --> 00:03:19.735
This account blocks validation because the
subscription is unavailable.

00:03:20.620 --> 00:03:25.250
In an enabled account, I would save
explicitly to the server.

00:03:26.162 --> 00:03:28.592
Then check activation separately.

00:03:29.432 --> 00:03:31.952
The switch is disabled before the first
save.

00:03:32.870 --> 00:03:37.130
The automatic draft indicator refers to a
local browser copy.

00:03:37.790 --> 00:03:40.870
It does not mean this workflow is saved or
enabled.
