Deleting a function

When you delete a function, you must also delete references to that function from other rules such as expressions, activities, and function aliases. If you delete a function without deleting the references, an error is displayed at run time when Pega Platform tries to call the function.

  1. In the navigation panel, click Records > Technical > Function and open the function that you want to delete.
  2. On the Alias tab, for each alias that is listed, click the row to open the Function Alias rule, and delete it.
  3. Click Actions > View references to find references to the function.
  4. Modify the reference objects to remove references to the function that you want to delete.
  5. Click Delete to delete the function.
  6. In the navigation panel, click Records > Technical > Library and open the library rule that contained the function.
  7. Click Generate Library to force recompilation of the library.