Repository navigation
RoutesScripts
skilchen edited this page Feb 17, 2016
·
2 revisions
When the standard routing of bots does not fit your needs, use routescripts.
Routescripts are python programs.
There are 2 types of routescripts:
- User exits: at certain points in a route, bots calls your user exit. See overview of exit points. Most common usage is 'pre-processing' an edi file, see recipes.
- Your script takes over the whole route. This is done by using function main() in your routescript. See Example.
How to set up a route-script:
use bots-monitor to add a new route.
make a routescript with the same name as the routeID in
bots/usersys/routescripts/<routeid>.py
[Home]
- Get started with bots
- Guide for bots-monitor
- Configuration
- How to debug
- Plugins
- Deployment and usage
- Advanced Deployment
- Troubleshooting FAQ
- Overview
- Changes and migrate
- Tutorials
- New to python?
- External reference links
- Useful Tools