I have a little problem in the ddmi synch with asset manager ,The problem is that It updates all the softwares which are present on a particular machine/ server and after the synch I get more no. of software installations present on a particular machine than what are presend in the DDMI ( The reason being that some of the applications would have been removed from that particular server due to which it got removed in DDMI . Now the DDMI Synch updates the softwares present in ddmi but it does not remove the ones which are no longer present in DDMI.
I have thought a solution , I dnt know whether it is correct or not , Please suggest in case there is some better solution possible:
1) we will create a field / feature in Softinstall Table for eg: Not present in ddmi which is set after the synch , In case the particular machine is compared and then the software is not found on the machine.
2) Now we will execute a workflow which runs periodically after the synch and deletes all the softwares which are not found in ddmi on the basis of value in the ( not present in ddmi ) field.