The CreatorCon Call for Content is officially open! Get started here.

Can i get the deleted business rules back?

coolgirl
Mega Expert

Hi,

        I have deleted a couple of business rule unknowingly, is there anyway I can get it back?

Thanks,

Sam

18 REPLIES 18

Hi,


                    When i restore the business rule and open it from System Definitions, i get the following message "The entity name must immediately follow the '&' in the entity reference."



Thanks,


Sam


Hi Sam K,


The error you are getting is an XML parsing error, because you have "&" in your javascript, which ServiceNow is trying to interpret as XML.


In order to use this feature you must change the XML and replace all the & with &


However, it would be easier to follow the steps I mentioned earlier.


Hi Jesper,


                Can you kindly guide me on how can I move the business rule between instances through update set.



Thanks,


Sam


Hi Sam,



Using update set:


1. Create an update set


2. Go to the business rule


3. Make a minor change to, like an extra line (linebreak)


4. Save it, remove the ekstra line, and save it again


5. Now close the update set


6. You now see a related link called something like "Export update set", click it


7. On the other instance, go to Retrieved Update sets


8. In the buttom you will find a link to import update sets


9. Import it and click on it.


10. Click preview, make sure you only have that one business rule in the update set, if it says your business rule is newer, just click on accept it


11. Commit it



Directly:


0. Go to the business rule


1. Right click in the top and select export to XML


2. Go to your other instance and go to business rules


3. Right click in the top and select import from XML


4. Import it.



Hope this helps


zica
Giga Guru

Sam,


You should use prior version of SNow


Here you go (section 4.4) : Managing Applications - Versions Prior to Fuji - ServiceNow Wiki


Kind regards,


Za


Do not feel shy to mark correct or helpful answer if it helps or is correct