Reassigning Connections
The Reassign feature changes a Connection within a flow without recreating each block that calls that Connection.
For example, assume you have SQL Server Connections that connect to Test and Production databases. After testing your On schedule app with the Test database, you are ready to move to the Production database. You could use the Reassign feature to switch from the Connection to the Test database to the Connection to the Production database.
If you import flows from another Organization, the Connections in the imported flow may not match those in the current Organization. For the imported flows, you may also need to reassign Connections.
Considerations
When reassigning Connections, note the following best practices:
- Make sure that the new Connection has corresponding entities and relationships. If the new Connection does not have the same entities and relationships, the change can cause blocks with previously configured relationships to generate an error message.
- Make sure that the new Connection supports the same operations as the prior Connection. If the new Connection does not support the same operations or blocks, the flow does not run, displays Block errors, and displays as Incomplete in the Flows list.
- Reassigning a Connection in a flow does not trigger flow validation. Select the Validate button at the bottom of the flow.
- Inactive blocks that are outside the Active Stack are ignored and their Connection information is not updated. Before reassigning the Connection, make the inactive blocks part of the Active Stack or after reassigning the Connection, select Assign Connection from the Gear menu for each inactive block and assign the correct Connection.
Canceling or exiting the flow without saving does not restore the prior Connection. If you reassign a Connection and want to revert to the original Connection, you must change it manually or use the Revisions dialog to revert to a prior revision of the flow. See Flow Revisions and Reverting A Flow To A Prior Revision.
Reassign a Connection
- Open the flow with the Connection that you want to reassign.
- On the Connection panel, locate the Connection.
- From the Gear menu for that Connection select Reassign. The Reassign Connection dialog displays.
- Select a Connection from the drop-down list or select Create a New Connection.
- Select OK to save your changes and close the dialog.
- Any references to the original Connection change to the new selected Connection. If the Entities and fields are identical, you do not need to modify the blocks.
Related Topics
Removing a Connection from a Flow