Solution Variants
The following variants are available within deployment profiles:
- Workflow properties
- Swim Lane users
- Data connections
- Plug-ins
- Workflow participant resolvers
- Form Elements
-
WebService
- SAP Server connection name
- System Runner User
Variants are stored within a solution, and they represent different parts of a solution. Variants can be applied to Swim Lane users, data connections, plug-ins, workflow participant resolvers, and Form elements.
You can change variants based upon the environment or app to which the solution will be deployed. When you export a solution to deploy it to another environment or app, you can change the solution variants according that second environment or app.
If there are multiple environments (such as dev, staging and production), it is recommended that you keep solution variants such as SAP connection names and data connection names the same across different environments. This will eliminate the need to change the solution variants.
If the connection names are the same, then after importing a solution to different environment or app, you can deploy the solution as it is. If there is a solution variant which does not exist in the new environment or app, you will receive an error. In that case, open the solution variants and select the name of the variant from the drop-down menu. Or, as an alternative, type the name of the variant(s); this will be necessary when no drop-down menu is available.
Solution connection names are case sensitive. Apps to which a solution is imported must have a connection with the same name as the connection in the original app; if they do not, the connection name will not be recognized, and you will receive an error when you deploy the solution.
Data Connections are a good example of something that will probably need to change when moving a solution from a one environment or app to another. A data connection usually connects to a data source within the same environment in which you are working. But when you move the solution from that environment or app (from staging to production, for example), the data connection is severed.
Configure solution variants
To configure solution variants:
- Click the Solution tab.
- From the ribbon, click Solution Variants to open the Solution Variants page.
- Make the changes as required, according to the environment or app to which the solution has been imported.