Edit a Script Executor

Edit a Script Executor.

Edit a Script Executor

Follow these steps to edit a Script Executor:

  1. View your Script Executors. The Script Executors page displays.

  2. Edit the following information about the Script Executor as necessary:

    • In the Name setting, edit the unique name for the Script Executor. This name displays from Script configuration settings, so enter a descriptive name that Process designers configuring their Scripts understand what customization this Script Executor provides. For example, if specific third-party classes have been appended to the Script Executor that provide access to that third-party's API or SDK, enter a name that ProcessMaker designers developing their Scripts understand how they can best use this Script Executor.

    • In the Description setting, edit the description for the Script Executor.

    • From the Language setting, select one of the following programming languages that the Script Executor uses to run Scripts:

      After selecting a programming language, the default Dockerfile content to run Scripts using that language displays in the Dockerfile setting. The Dockerfile content includes the SDK for that language.

    • From the Dockerfile setting, append the default Dockerfile content with the Docker commands the Script Executor runs when it builds the Docker container. Consider following best practices for writing Dockerfiles. Do not edit the default Dockerfile content as this is necessary to run Scripts successfully in a Docker container using the selected programming language.

  3. Click Save and Build to build the Docker container from which the Script Executor runs Scripts. The Build Command Output setting displays below the Dockerfile setting as the Script Executor builds the Docker container in real-time. If the Docker container builds successfully, the following message displays: Executor Successfully Built. You can now close this window. If building the Docker container is unsuccessful, the following message displays: Error Building Executor. See Output Above.. The Build Command Output setting displays the Dockerfile error.

  4. Click Close.

pageWhat is a Script Executor?pageView Script ExecutorspageCreate a New Script ExecutorpageDelete a Script ExecutorpageWhat is a Script?

Last updated

© Copyright 2000-2024 ProcessMaker Inc. All rights reserved.