Creating Custom Actions

The purge projects action is a scripted action that is pre-installed with optiSLang Web Service. You can create new custom actions that appear in the Actions list with Python scripts.

  1. Navigate to optiSLang installation directory > web_service > scripting > actions.

  2. Either copy and alter the purge.py file or add your custom script in this folder.

  3. Open the actions.json file and add the name and script path for your action.

  4. Save and close the file.

  5. To schedule your action, see Scheduling Project Actions.