at different customers and with different Versions we have tried to adjust the AM Push-Adapter between UCMDB and Asset Manager, to be able to delete all Software in Asset Manager, which have not been found by the latest discovery run of UCMDB. But we only managed to set the flag of the Software to "be missing" and the we had to delete all those "be missing" Software by a Worklow or a Script later directly in Asset Manager. In former times, by using HP DDMI and HP Connect-It is was possible to delete this Software directly in the interface, whenever an import was done. Would it be possible to get just a couple of Screenshots how to configure this behavior in the letest Version of the AM Push-Adapter?
Thanks a lot
Re: AM Push-Adater
This behavior is controlled by the general mapping in the adapter.
The documentation :
on the section 3 , search for : Action on Delete.
Instruct to edit the mapping : AMPushAdapter/config/am-push-mapping.xml
and to identify the part that take care of softwares. This one is the most commonly used for softwares.
In the following sample, the action on delete is overwritten by the bold section :
<!-- SW as Root Push -->
<am-mapping ci-type="SW_amSoftInstall" primary-key="lSoftInstId" operation-type="update_else_insert" target-ci-type="amSoftInstall" parallel-push-allowed="true">
<reference-attribute ci-name="SW_amModel" datatype="STRING" name="lModelId" reference-direction="child"/>
<reference-attribute ci-name="SW_comp_amPortfolio" datatype="STRING" name="lParentPortfolioId" reference-direction="child"/>
<set-attribute-value name="bMissing" datatype="BOOLEAN" value="1"/>
change it to :
Could you test and keep us informed ?