Replacement of Insert() and Update()?

srinathgtrk
Tera Contributor

Hi Team,

 

 

I am working on On-Before Transform scripts which contains Insert() and Update().

 

Is there any way to replace Insert() and update() because it is effecting our client health scan Manageability of the instance. 

2 REPLIES 2

palanikumar
Giga Sage

Hi,

Do you know the reason for using Insert? Normally Insert function creates a record. Changing to update may cause issue as the original requirement could be to create new record instead of updating.

Thank you,

Palani 

Thank you,
Palani

Hi @palanikumar ,

 

Yeah I know the use of the Insert() and Update() methods, but Client Health Scan report was not recommending Insert() and Update() methods for On Before Transform Scripts.

 

Here, Health scan report is recommending don't use Insert() and Update() in the Customized Transform Scripts only.  we do have more than 10 Transform Scripts which contain Insert() and Update() methods.

 

It is effecting the manageability of the client instance.

 

Kindly Suggest me possible way to replace Insert() and Update() methods in the Transform Scripts.