Summary

Let’s summarize the key learnings from this course.

  • Discovery script can be published as a Script Tool which offers advantages like easy deployment of scripts across multiple users, creating protected versions of scripts for limiting access to the source code, and offers the flexibility of using the published script with any Discovery project.
  • Script created in Discovery can also be embedded into the Discovery project, which provides the capability of saving and storing the script within the project.
  • The DiscoveryInputHelper functionality of Discovery scripting is an extremely helpful tool that offers the capability of specifying interactive user inputs in the scripting workflow. This offers flexibility in the script workflow as hard-coded script variables can be easily replaced with DiscoveryInputHelper parameters. Also, custom tool guides and selections can be easily created with the help of DiscoveryInputHelper options.
  • Advanced selection logic can be developed using Discovery scripting that can be used for selecting entities outside of the standard selection methods available.
  • Operations performed in Discovery can be recorded using the History Tracking feature which offers a history-based modeling approach. Each step in History Tracking represents a script block consisting of parameters, variables, and script commands that can be modified to meet the required workflow. Custom blocks can also be added for incorporating additional script commands in the History Tracking workflow.