Adding a New External Action to an Analysis


Note: To add or use external actions, you need TIBCO Cloud™ Integration license (TCI). For more information, see Enabling External Actions with TIBCO Cloud™ Integration.

Actions that include sending data to external systems make use of integration and connection services in TCI. Services can be created for specific action needs. From Spotfire, the services are then accessed using TIBCO Cloud Mesh, a global repository of these kinds of services.

A service contains various parameters to configure. When adding an action that calls a service, these defined parameters will be provided automatically in a configuration flyout in Spotfire, where you map them to your visualization. For example, you can define what kind of data in the visualization to send to the external system.

A configured action is then activated using some type of trigger in the visualization, like a floating button, as shown below, or a right-click menu item.

When adding a new action, you add it to a visualization of your choice, and you can specify one or more triggers in that visualization. When you have added an action, it becomes available for selection in all visualizations in the analysis. That is, an action can be added to more than one visualization in an analysis, using the same type of trigger or a different one. You can also add more than one action to a single visualization.

To add a new external action:

  1. Right-click the visualization, and select Properties from the pop-up menu.

  2. Go to the Actions page.

  3. Click Add in the upper right corner.

  4. Response: A default trigger type, Floating button, is added to the Triggers in visualization list.

  5. If you want another trigger type, change to Right-click menu option or Title bar button in the Trigger type drop-down list.

  6. To define a service to use for the action, click New.

  7. Response: The TIBCO Cloud Login dialog is opened.

  8. Log in to TIBCO Cloud, and follow the steps.

  9. Response: Once logged in, the Select a service from TIBCO Cloud Mesh dialog is opened.
  10. Locate and select the service to use for the action.

  11. Response: The Configure action flyout is opened, listing the parameters that are defined for the service in question.

  12. Optionally, click the pen to rename the action, and type a description.

  13. Comment:  A description of the action is recommended to inform people who run it about the purpose of the action.

  14. Click to select an icon that will represent the action.

  15. Expand the parameters, and configure the action, that is, map inputs to the contents of your analysis.

  16. Comment: It is the configurator of the action who determines what data the action will send. The configurator might select a data table, or one or more columns, to send data from, add a document property (perhaps a property that people can change using controls in a text area), or even type a value directly. By specifying the type Prompt, the person who is running the action gets to provide the input.

  17. Click Next.

  18. Response: The Review action configuration flyout is opened. The flyout shows the configuration and affected data that potentially will be sent externally.
  19. Make sure the configuration is correct, and click Done.
  20. Response: You are now the signer of the action. The action is added to the Available actions in analysis list,  and it is possible to add and use the action in any visualization in the analysis by associating it with a trigger.
  21. Select the added action in the Action drop-down list to associate it with your trigger.
  22. A trigger of the chosen type is now available in the visualization for running the associated action.

See also:

What are Actions?

Running an External Action

Manage Trust