Reuse a shared step library As part of creating or modifying a discovery pattern, you can reuse a sequence of discovery steps that you created for one pattern in other patterns. Before you begin Basic knowledge of programming is desirable. Role required: pd_admin About this task Reusing existing step sequences saves you from recreating the same steps manually. First, you save the steps you want to reuse into a repository as a shared library. Then you can insert them wherever relevant and as many times as needed. You can deactivate shared libraries, so that patterns using them, skip steps in deactivated shared libraries. For more information, see Discovery Configuration Console. Procedure If the steps you want to reuse already exist, create a reusable step sequence as follows: Navigate to the pattern containing the steps that you want to reuse. Navigate to the steps that you want to combine. Select the steps, right-click, and choose Create shared library. Fill in the fields as appropriate: Field Description Shared Library Name Specify a unique name for the library. For example, UNIX-OS for a step sequence used to discover the Unix operating system. Library Description Specify a meaningful description for the library. Click Create. The selected steps are saved as a shared library. Reuse the step sequence you created: Navigate to the pattern in which you want to insert your step sequence. Select the relevant identification section or connectivity section Select Library Reference from the Operation list in one of the following locations: the Identification Sections or Connectivity Sections for Service Mapping the Step window for Discovery Select the required shared library from the Library list. The library is inserted as substeps inside an untitled step. Rename Untitled Step to reflect the purpose of the step. If in Debug mode, test the step by clicking Test and checking that the operation brings the result you expected. What to do next Continue editing the pattern by adding a new step and defining its operation or Finalize the pattern.