webMethods RPA Integration 10.3 | WmKryonRPA Service Reference | wmKryonRPA.services:addTask
 
wmKryonRPA.services:addTask
Creates a new task in a task queue for unattended robots.
Input Parameters
wmKryonRPA.docs:TaskRequest
Document Contains the parameters required for creating an RPA task.
WizardCustomId
String The ID of the wizard that will execute the RPA task.
NumberOfRuns
Long The number of runs a wizard should execute per task.
Default: 1
SingleRunEstimation
Long The estimated period of time in minutes for a single wizard run.
Default: 10
Variables
Array (String, String) List of key/value pairs that indicate a sequence of actions that the task wizard will execute as part of an advanced command.
QueuePriority
Integer The priority of the task in the task queue. Valid values:
*0 - Normal (default) - the task is added at the bottom of the task queue
*1- High - the task is added at the top of the task queue (but after other high priority tasks already in queue)
GroupName
String The name of the robot group to which to assign the task. If the value is empty (default), the task will get assigned to an available robot.
MachineName
String The name of the robot to which to assign the task. If the value is empty (default), the task will get assigned to an available robot.
Output Parameters
wmKryonRPA.docs:TaskStatusResponse
Document Returns the details of the created RPA task.
TaskID
Long The ID of the created task.
Status
Integer A status code that indicates the current status of the task.
Error
Integer Conditional. If an error occurs, the service returns an error code that indicates the type of the error.
ScriptOutputData
String Conditional. Output data reported by the wizard that executes the task.

Copyright © 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.