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 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:
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:
The Patchworks AI panel is displayed below as soon as your coding language is selected in the previous step. Please see for information about these options.
From here, you can and your code.
This saves and deploys the code so it's ready for .