This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(async () => { | |
try{ | |
// Get the list of processes | |
const processes = await UiPathRobot.getProcesses() | |
// Find a specific process by ID | |
const sample = processes.find(p => p.id == "c9973f8d-a46b-41cd-8436-f411cdba3355") | |
// Start the process (creates a job) | |
const job = sample.start({ NumberToAdd: 0 }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NODE_VERSIONS=( "6" "7" "8" "9" "10" "11" "12") | |
function command_exists () { type "$1" &> /dev/null ;} | |
# Ensure that vnm is installed | |
if ! command_exists nvm; then | |
rm -rf ~/.nvm/ && git clone --depth 1 https://github.com/creationix/nvm.git ~/.nvm | |
source ~/.nvm/nvm.sh | |
fi |