How to find script on a field.

vinod9
Tera Expert

Hello Team,

 

I have one field "last barcode scanned date" its updating the date. but not getting which script has been used to update the date on this field.

If I have to find any script on this, how to find it. 

Please suggest me.


1 ACCEPTED SOLUTION

Nikita30
Mega Sage

Hi @vinod9 ,

 

You can search  in sys_metadata table by applying the below filter . Please use the field name.

 

Nikita30_0-1681376531340.png

 

Please mark the response as Helpful/Correct, if applicable. Thanks!

 

View solution in original post

5 REPLIES 5

Jaspal Singh
Mega Patron
Mega Patron

Hi Vinod,

Did you check for Business rule, client scripts on the correspoding table the field is on?

Weird
Mega Sage

There are few ways you can search for the script.
The fastest would be to open Studio from you navigation.
Close the pop up with ctrl+shift+f and in the Search term field write down your field name. For example I could write incident_state. Also check the "Search in all applications" to true.

Now hit search and it will do a query through scripts to find a match and it will show you if it was found in a BR, Script Include, etc.

It can also be updated by some integration and that probably won't be found in any script. You can also check transform maps, but integrations can also be direct meaning that there won't really be any sign other than "updated by" that tells you where the information came from.

Mohith Devatte
Tera Sage
Tera Sage

Hello @vinod9 ,

First try to debug on what action it is updating the date field.Depending on this you can check different configurations.

Example:

If its happening on update of form or save of the form try checking business rules on that table .

 

or may be if its happening on change of another field check on change client script etc

 

You can check with applying a filter saying "script contains your date field back end name"

 

Hope this helps 

Mark my answer correct if this helps you 

 

Nikita30
Mega Sage

Hi @vinod9 ,

 

You can search  in sys_metadata table by applying the below filter . Please use the field name.

 

Nikita30_0-1681376531340.png

 

Please mark the response as Helpful/Correct, if applicable. Thanks!