Setting Up the Activity
To set up the activity, do the following:- Add possible document types by clicking the plus icon on the Splitter Script Properties pane and creating classes one by one.
- Click Script Editor on the Splitter Script Properties pane.
- Set up a script that will determine how pages are assembled into documents. The script has access to all pages of a transaction. The common scenario is to iterate through pages checking each time if a page starts a new document. If it doesn’t, it is appended to the previous document. For a detailed description of objects that can be used in your script, see Object model.
- Click Save.
