Route jobs in a Switch flow without a direct connector.
Description:
You can send jobs around within a flow, keeping logic better-organized and easier to read. Pass jobs between flows without having to manage non-automanaged folders or requiring access to the local file system. If you build or share flows with others, feel free to break up your flow logic while still making flow distribution simple. Flows can now be connected through an abstracted method which does not rely on prior configuration of the local filesystem.
Usage:
This repo contains two scripts: an incoming and an outgoing portal. Portals are multiplexed by channels (which you select in the script) so you can have multiple sets of portals within a single flow. Portals also have a choice of scope: flow, program, or global. If an incoming and outgoing portal share the same scope and channel, jobs will be routed between them. Metadata and job ticket information is maintained between portals as well.
Flow element properties:
Scope
This property namespaces your channels, allowing you to restrict or allow portals to work within or between flows.
Channel
This property multiplexes portals to allow several portals within your flow, or in other flows, to work without conflict. Incoming and outgoing portals which share the same channel and scope will exchange jobs.
Debug Warnings
Optional flag to send debug messages to the log as warnings.
Get it here:
https://github.com/open-automation/SwitchPortals
Watch the Enfocus Safari webinar "Thinking with portals":
https://www.enfocus.com/en/virtual-safa ... th-portals
