Creating a script manually
Last updated
Last updated
If you're experienced in creating scripts for your Patchworks process flows and know exactly how to achieve what's needed, you can jump straight in and create scripts from first principles.
The maximum memory size for a custom script is 512MB
The maximum size of a custom script is 4GB
Follow the steps below:
Step 1
Log in to the Patchworks dashboard and select scripts
from the left-hand navigation bar.
Step 2
Select the create script
button:
Step 3
Add a unique name
and a description
and then choose your preferred coding language:
Script names must be unique - you can't add two scripts with the same name.
Step 4
Click the create
button:
The new script is saved, and you're now in edit mode:
From here, you can add and test your code.
Follow the steps below:
Step 1
Move down to the code
panel.
Step 2 Add your script code (remember that you can use IntelliSense for easy code entry) - for example:
Step 3
When you're ready to test the script, click the save and deploy
button:
This saves and deploys the code so it's ready for testing.