
Change job name
This is a basic example script that renames a job as it is processed.
Information
Supported by: PowerSWITCH (WIN)
Language: Visual Basic Script
Description:
This basic script example goes through the following steps:
- Read the job name.
- Create a new job name based on the existing name but adding "changed_".
- Log both the old and new name in the SWITCH log view.
- Send the job with the new job name through the allowed output connections.
Using this script
- Download and save the script on your computer: download script.
- Select the script element in your PowerSWITCH flow and browse to the script in the script package property.
or - Open the script in the SWITCHscripter and change it to your needs.
