CrowdProcess Job Client
Basic CRUD for CrowdProcess Jobs
Getting it
$ # install it with
$ npm install --save crp-job-client
// require itvar Client = ; // initiallize it with a username and passwordvar jobs = ; // Or with a tokenvar jobs = ;
You can get your authentication tokens with the account client.
Create a Job
var job = program: "function Run (d) { return 3*d; }"; var jobId; // we'll use this on the next code blockjobs;
View the job
// remember jobId from the last code block ?;
List all the jobs
jobs;
Delete a job
;
Delete all your jobs
jobs;