You can use scripting in a variety of ways to customize Sequentum Agent behavior, or to extend standard functionality. Sequentum Enterprise scripts are .NET functions written in C# or VB.NET or regular expressions.
Sequentum Enterprise scripts can be divided into three categories:
- Transformation scripts.
- Command scripts.
- Extension scripts.
Transformation scripts are used to transform a piece of text. For example, if you extract an address from a web page, but want only the postal code, you can transform the address into just the postal code. You can also view this process as extracting sub-text, but sometimes you may do more than merely extract sub-text. That is why we call this transformation.
Transformation scripts are used in the following situations:
- Transformation of extracted content.
- Transformation of file names when downloading files.
- Transformation of URLs when using Navigate Link commands that extract and navigate to direct URLs.
- Transformation of input data.
See the topic Transformation Scripts for more information.
Command scripts are general purpose scripts that are executed as part of the normal agent command execution flow. The scripts are often used to alter the execution flow of an agent.
See the topic Custom Scripts for more information.
Extension scripts are used to extend Sequentum Enterprise functionality. A Data Export script is an example of an extension script that can be used to apply some custom business logic to extracted data.
The following scripts are extension scripts: