How to create a new Job from a URL
4 min
v8 to start a new job in v8 use the following url syntax where 2 is the id of the task to start https //server/job/new?id=2 http //server/activate/starttask aspx?id=2 to find the id of a task in web studio, find the task in the explorer tree then click the general tab like this note settings below like showmenu or returnpage don't apply in v8 like they did in v7 v7 the starttask aspx page allows you to start a new job from a url the starttask aspx page accepts a parameter that identifies the task to start the task may be specified by activate path or internal id the activate path is the preferred method as the internal id of the task may change for example, if it is deleted and recreated to specify the task by path the task query parameter is used for example, the following url will start a task to reset a password http //server/activate/starttask aspx?task=//tasks/passwords/self reset password if you wish to start a task by id then the 'id' query parameter can be used for example, the following url will start a task with the internal id of 2 this will fail if the task does not exist http //server/activate/starttask aspx?id=2 http //server/activate/starttask aspx?id=2 standard arguments the following standard arguments are also available name description example supported versions startpage the name of the page to start the task with startpage=common/selectuser aspx v8, v7 showmenu if the value is 1 then the main menu is shown if not already showmenu=1 v7 returnpage the page to return to when the new job is submitted the return page can also be set to 'current' and the current page (and job) will be saved and returned to returnpage=system/home aspx v7 other arguments any other arguments are treated as values to be passed to the newly created job the argument name is expected to be path of the value stored into the arguments and the value of the argument to used as the value for example http //localhost/job/new?id=123\&user==//resources/users/\<guid> would start a new job with task 123 set the 'user' node in the arguments to "=//resources/users/\<guid>