search cancel

Export/Import EEM configs: what is the XML section title when we wish to delete things in that section?

book

Article ID: 213441

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

We are in the process of standing up a new 12.x version of EEM using exported configurations from 11.3.6.  It worked pretty well, but we wanted to do some mass cleanup of that original data post-import so we are trying to use a "Delete" directive (in place of "Add") in certain sections but getting errors.  Could you please tell us what the directive should be instead?

Environment

Release : 11.3

Component : WA AE/AUTOSYS RELATED EEM

Resolution

Here is an example of an xml file's contents that I used to "Remove" a policy.

 

------- example ---------

<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<Safex>
<Attach label="WorkloadAutomationAE"/>
<Remove>
<Policy folder="/" name="foursixteen">
  <Description>ddd</Description>
  <ResourceClassName>as-appl</ResourceClassName>
  <PolicyType>policy</PolicyType>
  <Disabled>False</Disabled>
  <ExplicitDeny>False</ExplicitDeny>
  <PreDeployment>False</PreDeployment>
  <RegexCompare>False</RegexCompare>
   <Resource>DDD.*</Resource>
 </Policy>
</Remove>
</Safex>