How to identify script which has copied Custom field on Incident to Worknotes field on Incident Form

VIKAS45
Tera Guru

How to identify existing script which has copied Custom field on Incident to Worknotes field on Incident Form which is seen in Activities?

 

We have to stop copying Custom field on Incident to Worknotes field on Incident Form which is seen in Activities

 

How should I proceed further?

1 REPLY 1

Harish Bainsla
Kilo Patron
Kilo Patron
  1. Search Client Scripts and Business Rules:

    Start by searching for any Client Scripts and Business Rules that might be performing this action. These types of scripts are often used to manipulate field values on forms. You can follow these steps:

    a. Navigate to "System Definition" > "Client Scripts" or "Business Rules".

    b. Use the "Name" field to search for keywords like "copy," "work notes," "custom field," or any other relevant terms.

    c. Review the scripts' scripts and conditions to see if any of them are copying values from a custom field to the Work Notes field.

  2. Check UI Policies and Data Policies:

    UI Policies and Data Policies can also be used to control field values based on certain conditions. Check if there are any UI Policies or Data Policies that might be responsible for copying custom field values to the Work Notes field. Follow these steps:

    a. Navigate to "System Definition" > "UI Policies" or "Data Policies".

    b. Similar to the previous step, search for keywords related to copying or manipulating field values.

    c. Review the policies to see if any of them are copying values from a custom field to the Work Notes field.

  3. Inspect Script Includes:

    Sometimes, the copying of field values is encapsulated within a Script Include that is then used in various scripts or business rules. Check if there are any custom Script Includes that could be performing this action. Follow these steps:

    a. Navigate to "System Definition" > "Script Includes".

    b. Search for any Script Includes that might be involved in copying field values.

    c. Review the code within these Script Includes to see if any of them are copying custom field values to the Work Notes field.

  4. Review Workflow Activities and Scripted Actions:

    If the copying of field values is part of a more complex workflow or process, it might be implemented as part of a Workflow activity or a Scripted Action. Follow these steps:

    a. Navigate to "Workflow" > "Workflow Editor".

    b. Open the relevant workflow that is associated with the Incident form.

    c. Review the workflow activities and scripted actions to see if any of them involve copying custom field values to the Work Notes field.