Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Gef Buneri on October 27, 2017, 01:52:28 PM

Title: What if I'll delete scripts using CME, instead of IRD? (Both v7.5)
Post by: Gef Buneri on October 27, 2017, 01:52:28 PM
Hi all, as in object, 'cause never did so, using IRD only to delete strategies.

Deleting from CME deletes all references? (IRD, Config DB with BLOB, etc.) or CME is just for organizing?


Best regards,


Gef.
Title: Re: What if I'll delete scripts using CME, instead of IRD? (Both v7.5)
Post by: hsujdik on October 27, 2017, 02:13:28 PM
if you delete a "Simple Routing" script from CME, you delete the reference and bytecode, but the uncompiled/editable version of the Strategy will remain in IRD database (assuming you saved the strategy to the database), but not directly accessible.
Title: Re: What if I'll delete scripts using CME, instead of IRD? (Both v7.5)
Post by: Gef Buneri on October 27, 2017, 02:29:30 PM
Thanks hsu, so in CME the object exists only for referencing.

Regards.
Title: Re: What if I'll delete scripts using CME, instead of IRD? (Both v7.5)
Post by: cavagnaro on October 27, 2017, 03:46:35 PM
In CME is the ID but the content of that ID is or on a zcf file or in a database.
So if you delete from CME you delete only the ID but not its content(logic) and could be rescued from database or zcf file.
While deleting from IRD deletes everything, logic and ID.


Enviado de meu E6633 usando Tapatalk

Title: Re: What if I'll delete scripts using CME, instead of IRD? (Both v7.5)
Post by: hsujdik on October 27, 2017, 04:32:09 PM
[quote author=cavagnaro link=topic=10717.msg48697#msg48697 date=1509119195]
In CME is the ID but the content of that ID is or on a zcf file or in a database.
So if you delete from CME you delete only the ID but not its content(logic) and could be rescued from database or zcf file.
While deleting from IRD deletes everything, logic and ID.


Enviado de meu E6633 usando Tapatalk


[/quote]

[quote author=Gef Buneri link=topic=10717.msg48696#msg48696 date=1509114570]
Thanks hsu, so in CME the object exists only for referencing.

Regards.
[/quote]


Actually, the code that URS uses for routing also is in the Script object (the "bytecode" option in the "strategy" section of the annex). If you delete from CME, URS may not route the interactions, but they can be recovered from zcf or the IRD DB.
Title: Re: What if I'll delete scripts using CME, instead of IRD? (Both v7.5)
Post by: terry on October 28, 2017, 04:30:36 AM
In such case you will left "hanged" somewhere rbn file (either as file in file system or as record in Database).
rbn files are too big to store them in regular way in CME - they handled as separate entitites and by IRD only.
Even bytecode is too big really and it not even propagated to any CME client except URS.
Title: Re: What if I'll delete scripts using CME, instead of IRD? (Both v7.5)
Post by: Gef Buneri on November 13, 2017, 02:27:06 PM
Thank you very much, guys, the point perfectly clear. I use IRD to delete strategies, to delete all references and the blob on db, but I was just wandering if there was a "bulk" method to delete more strategies at once; I'll continue to delete one strategy per time :)

Regards.