SAP Landscape Management 3.0, Enterprise Edition

Creating Custom Processes

You create custom processes where you combine operations, provisioning blueprints, and custom processes available for execution as per your needs. You can then execute the custom process on all entities that fulfill the constraints defined for the custom process.

Prerequisites

Procedure

  1. Choose Start of the navigation pathAutomation Studio Next navigation step Custom ProcessEnd of the navigation path.
  2. Choose Create.
  3. Enter a name for the custom process.
  4. Optional: Enter a description to provide more information about the steps contained in the custom process.
  5. Select the entity type for which you define the custom process. You have the following options:
    • System
    • Instance
    • Host
    • Virtual Element
  6. Define the group for the custom process. You have the following options:
    • Choose an existing group.
    • Enter a name, to create a new group.
  7. Select the permission required to execute the custom process. You have the following options:
    Required Permission Description
    None

    To execute the custom process, the user must have permission: SafeCustomProcess(Execute).

    Normal

    To execute the custom process, the user must have permission: CustomProcess(Execute).

    Forced

    To execute the custom process, the user must have permission: ForcedCustomProcess(Execute).

    Critical

    To execute the custom process, the user must have permission: CriticalCustomProcess(Execute).

  8. Optional: To ignore the security setting Skip Authorization Checks for Operations within Custom Processes for this custom process, select the Ignore Global Security Setting: Skip Authorization Checks for Operations within Custom Processes checkbox and choose one of the following options:
    • To perform an authorization check for operations within the custom process, select the Check Authorizations Required for Operations within the Custom Processs radio button.
    • To skip the authorization checks for operations within the custom process, select the Ignore Authorizations Required for Operations within the Custom Process radio button.
  9. Optional: Specify whether you want to release this custom process:
    • To make this custom process available on the operation screens and release it for execution, select the Released checkbox.
    • To make this custom process available only for users authorized to manage custom processes, keep the Released checkbox deselected. The custom process will not be available on the operations screens for users that are not authorized to manage custom processes.
  10. Optional: To perform the custom process on more than one entity, select the Also Valid for Mass Operations checkbox.
  11. Optional: To prevent a standalone execution of this custom process, select the Not applicable for Standalone Execution checkbox.

    In order to execute custom processes that are not applicable for standalone execution, you have to add these custom processes as custom process step to another custom process.

  12. To add constraints for the custom process, choose the Constraints tab.
  13. Optional: Choose Add a constraint.
    1. Select the constraint.
    2. Specify the operator.
    3. Specify the value.
    4. Choose Add Constraint.
  14. To define the custom process, choose the Steps tab.
  15. Select the New Step icon displayed.
  16. In the Current Operation area, specify the operation, custom process, or provisioning blueprint.
  17. Optional: By default, all steps within a custom process are mandatory. If necessary, choose one of the following options:
    Option Description
    Optional

    Executing a custom process with mandatory steps on entities that do not fulfill the constraints defined for the custom process, results in an error. If you execute a custom process with optional steps on entities that do not fulfill the constraints defined for the custom process, SAP Landscape Management skips the optional steps.

    SAP Landscape Management displays optional steps as follows:

    Executable on all Resolved Entities

    Makes sure the operation will be executable on all resolved entities. If the operation is not executable on all resolved entities the process cannot be executed.

    SAP Landscape Management resolves the relation chain from top to bottom and validates all operation constraints against the relation chain. Resolved entities are all entities for which this validation was successful.

    SAP Landscape Management displays steps that are executable on all resolved entities as follows:

    Executable on all Resolved Entities and Optional

    If there are no resolved entities, the step will be skipped.

    If there is at least one resolved entity, the step cannot be skipped.

    SAP Landscape Management displays optional steps that are optional and executable on all resolved entities as follows:

  18. Optional: Add a Relation Chain to the operation.

    By default, you execute the operations of a custom process on one source entity. To execute operations from this process on other entities that have relations to the source entity, add the chain of relations that resolves to these entities.

    • The relation chain is resolved from top to bottom.

    • Each relation has either a source role or a target role with applicable entity types assigned. The roles represent the logical relation between the entities. Depending on the sequence of the relations in the relation chain table, SAP Landscape Management resolves the relation chain from source to target or from target to source.

    • The result entities in source or target role of this relation are resolved based on the input entities (in source or target role).

    • When adding a new relation to a relation chain table, the entity type of the new relation utilizes the entity type of the previous relation role that is shown in role column of relation chain table.

    • During execution the relation chain is resolved relation by relation. The resolved entities of the current relation are used as input when resolving the next relation.

    • Deleting one relation from the relation chain also deletes the relations below this relation in the relation chain table.

  19. Optional: Add Operation Constraints that have to be met by the source entity or the entities as defined in the relation chain in order to execute the custom process step.
  20. Optional: Specify the Operation Parameters. For operation parameters, you have the following options:
    Option Description

    Add as Global

    To set a parameter as global, choose this option, enter a name for the global parameter, and if required specify a custom default value or set a hard-coded parameter. Global parameters are used on custom process level.

    If you set a hard-coded parameter, you either have to specify a default value or you have to ensure that the source parameter has a default value assigned. When executing this custom process, you cannot specify or change the value of the hard-coded parameter.

    Quick Binding

    To bind an operation parameter to a global parameter, choose the defined global parameter.

    This operation parameter will get the value of the global parameter.

    Clear Bindings

    To clear defined parameter bindings, choose this option.

  21. Optional: Add further steps to the custom process.
  22. Optional: Refine the dependencies between the steps.

  23. Save the custom process.

Results

You can now execute the custom process on all entities that fulfill the constraints defined for this custom process.