SAP Builders Blog Posts
Learn from peers about their low-code journey and write your own blog posts to share your thoughts and experiences as you become an SAP Builder.
cancel
Showing results for 
Search instead for 
Did you mean: 
Alex-Fortin
Advisor
Advisor

Dear Community,

In the coming weeks we are providing a new governance capability with Environments for SAP Build Process Automation.

What is Environment?


An Environment, and more specifically a Shared Environment, is a virtual location within your SAP Build Process Automation subscription where projects are deployed. In deployed projects you can use artifacts, such as triggers, workflow definitions, API keys… and can assign resources such as Agents. The output of these artifacts are automation jobs and workflow instances.

Build Process Automation Artifacts DT-RT


When a project is deployed in the public or default environment (which belongs to the tenant), users can access all related artifacts, depending on the security level assigned to the users. When a project is deployed within the public or default environment, all agents that have been declared in Agent Management will be involved for taking the job by a process/workflow or by a trigger. Agent Attributes can be used to improve job distribution. The Desktop Agent performs the task (automation job) on behalf of a user.

A shared environment allows you to increase the security of deployed projects and the corresponding artifacts and resources. A shared environment must be created by users with the Process Automation Admin role and shared to users with the Process Automation Developer role.

A shared environment allow to isolate the resources and the project with specific rights associated to a given environment. For instance, two environments can be defined such as one for "Material Management" and one for "Financial Consolidation" and the projects related to the two environments might not use the same settings. For more information, our documentation is available.

Using Environments within the Studio


Access to available environments is made easy while deploying a project. When a project version is deployed in a shared environment, if a previous version exists, this is automatically undeployed behind the scenes. The concept of deployed and active is simplified to deployed in a shared environment.

Differences between Public Environment and Shared Environments

 

CasesPublic EnvironmentShared Environment
Deployment of a 1st project version (version 1.0.0)The version is deployed and activeThe version is deployed (and active) for the specified environment.
Deployment of a 2nd project version (version 1.0.1)The version is deployed and active. Version 1.0.0 remains deployed. All triggers are now associated to the version 1.0.1The version is deployed (and active) for the specified environment. Version 1.0.0 is no longer active.
...
Deployment of the 42nd project version (version 1.0.42)The version is deployed and active. All previous versions remain deployed. All triggers are now associated to the version 1.0.42The version is deployed (and active) for the given environment. Previous versions are no longer active.
    • In a public environment, multiple versions can be deployed but only one is actually active
    • In a shared environment, the latest version deployed is implicitly active
    • A project-version can be deployed in multiple shared environments side by side

A semantic deployment



The version first time you deploy a project after releasing a version, simply click Deploy and the list of available environments will be available. By selecting the environment, the button will display different meanings:

    • Deploy - because it's the first time you will deploy this project within this environment
    • Upgrade - because you will deploy a newer version within this environment
    • Redeploy - because you will deploy the same version within this environment
    • Downgrade - because you will deploy a lower version within this environment

Because project can be deployed in multiple environments, we've updated the Studio:

Where are now the existing settings?

All existing settings are available in the Environment view for a specific environment (including the public environment which will be surfaced):

Control Tower > Environments

Moved entries / views

 

Entry / ViewNow with EnvironmentsBefore (without Environments)
Deployed ProjectsControl Tower > Environments > Environment > Deployed ProjectsNot available
Unattended TriggersControl Tower > Environments > Environment > Unattended TriggersMonitoring > Manage > Triggers
Attended TriggersControl Tower > Environments > Environment > Attended TriggersMonitoring > Manage > Triggers
Agent ManagementControl Tower > Environments > Environment > Agent ManagementControl Tower > Agents > Agent Management
VariablesControl Tower > Environments > Environment > VariablesControl Tower > Other > Cloud Studio Variables
API Keys (*)Control Tower > Environments > Environment > API KeysControl Tower > Other > API Keys
(*) API Keys is still accessible for cross environments (Control Tower > Others > API Keys)

 

 

Available artifacts in Shared Environments

The list of artifacts used when designing projects that are available in shared environments will continue to grow. The following artifacts and resources are currently available (for an accurate list please check our SAP Note 3394899 or the documentation) :

Design-Time artifacts

 

ArtifactsShared EnvironmentPublic Environment
AutomationAvailableAvailable
AlertAvailableAvailable
ApplicationAvailableAvailable
Project LauncherAvailableAvailable
User TaskAvailableAvailable
Action GroupAvailableAvailable
ProcessNot yet availableAvailable
FormNot yet availableAvailable
Approval FormNot yet availableAvailable
Visibility ScenarioNot yet availableAvailable
DecisionNot yet availableAvailable
Data TypeAvailableAvailable
Document TemplateAvailableAvailable
FileAvailableAvailable

Run-Time artifacts

 

ArtifactsShared EnvironmentPublic Environment
Scheduled TriggerAvailable for AutomationAvailable
API TriggerAvailable for AutomationAvailable
Attended TriggerAvailable for AutomationAvailable for Automation
Alert HandlersAvailable for AutomationAvailable
AgentsAvailable for AutomationAvailable
Environment VariablesAvailableAvailable
API KeysAvailable for API TriggersAvailable
Workflow DefinitionsNot yet availableAvailable
Deployed FormsNot yet availableAvailable (with Process)
Approval FormsNot yet availableAvailable (with Process)
Visibility ScenariosNot yet availableAvailable
DecisionsNot yet availableAvailable
Destinations Allow ListNot yet availableAvailable

 

Final thoughts

"Rome was not built in a day"... by delivering "now" shared environment with a initial scope targeting SAP Intelligent RPA use cases we are aiming to increase over time the artifacts availability. Stay tuned for more to come!

More information: