- Click the
IFactivity in the workflow. - Look at the Case Conditions section of the Activity Properties pane. Click the settings icon next to the “Sick Note DE” activity.
- The
IFactivity is set up using a script. It will select the next activity for a document depending on the document class determined by theClassify By Text and Imageactivity. The classification result is recorded to the “Layout” field. Possible values of this field are the names of the classes created in theClassify By Text and Imageactivity. Paste the following script to the script editor to forward all documents of class “DE” to the “Sick Note DE” activity:
- Click Save.
- Click the settings icon next to the “Sick Note BE-NL” activity and paste the following script in the script editor that will open:
- Click Save.
Fast Learning.
If you want to try and extract data from a document even if its class could not be determined, you may create a special Extraction Rules activity for documents with no class or forward them to one of the existing Extraction Rules activities.