1
Select the IF activity
Click the IF activity in the workflow.
2
Open the Sick Note DE case condition
In the Case Conditions section of the Activity Properties pane, click the settings icon next to the “Sick Note DE” activity.
3
Add the script for the DE branch
The IF activity uses a script to select the next activity based on the document class determined by the Classify By Text and Image activity. The classification result is recorded to the “Layout” field, whose possible values are the names of the classes created in the Classify By Text and Image activity.Paste the following script to the script editor to forward all documents of class “DE” to the “Sick Note DE” activity:Click Save.
4
Add the script for the BE branch
Click the settings icon next to the “Sick Note BE-NL” activity and paste the following script in the script editor:Click Save.
What’s next
Step 5. Configure the Fast Learning activity
Define the data form, label fields on German sick notes, and train the Fast Learning activity.
Tutorial overview
Back to the tutorial introduction.
