Use Add-Ins in Scripts and Workspaces
After you upload an add-in, you can place it in scripts and workspaces. This functionality can be added in several ways, depending on how the add-in is written.
If the add-in includes functionality to accept information from rule and branch conditions, you can configure script branches and script and workspace rules to send information to the add-in and perform actions based on the add-in’s response. For instance, if your organization handles customers whose products are still under warranty differently than customers with expired warranties, you could create a script branch that opens one script page if a customer’s product is still under warranty and another page if it is not.
The add-in can display anywhere you want on the script or workspace, or you can hide it using functionality in the script and workspace designers. You can also configure script branches and script and workspace rules to communicate with the add-in. We provide a script example here.
Results:
Using this configuration, one branch is triggered when the add-in finds that a serial number is under warranty, and the other branch is triggered when the add-in finds it is not under warranty.
What to do next
Using script or workspace rules, you could further expand this example to update the external database with the serial number entered on the script when other conditions are met.