NBA External Connections

Alex Edelstein
2 min readMay 18, 2018

--

Connections to external sources are represented as global variables. When you define an external source, you configure it to connect to one of the following:

You specify a name for your external source, and you can then refer to it in expressions as a global variable.

For more details, see the official pilot documentation.

Crafter exposes External Connections in this way:

Here’s an example of a return value called “creditScore” from the external connection shown above being used in an expression elsewhere in the strategy:

Troubleshooting External Connections

These connections are a little tricky to set up. The error messages are currently not helpful. 1) First, make sure you have an apex class on your org, properly set up to be an Apex Action (i.e. be an Invocable Method).

2) If you’re having trouble, you may want to verify that your action shows up in the palette of the Cloud Flow Designer. If it does, then the action is properly configured. If not, then you have a problem in your apex.

3) WARNING: you currently must provide a Description value, even though it doesn’t show as “required”.

4) Make sure you have an Argument Pair configured with the exact name of each invocable variable in each ArgumentName field.

5) Make sure you don’t get confused between the name of your node, which can be anything you want, and the Action Name, which must exactly match the name of your Apex class.

return home

--

--