Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 3.36 KB

RobotQueueing.md

File metadata and controls

37 lines (29 loc) · 3.36 KB

Robot Queueing in Kofax RPA

Kofax RPA 11.1 introduces Robot Queueing. You can now push a robot onto the robot queue with any input paramaters from other Robots or from any other program that supports REST Service Calls

This Video demonstrates Robot Queuing.

The official documentation for Robot Queueing is in Chapter 3 (page 59) of the RPA Developer's Guide.

Robot Queueing has three steps

  • Call mc/tasks/robotInputExample to see what inputs the robot requires. The sample robot does this within the robot itself. You can also do this manually in Swagger.
  • Call mc/tasks/queueRobot to queue your robot. This returns a ticket number for robot tracking.
  • Optionally call /mc/tasks/getRobotOutput/{ticket} to see the robot progress (Queued, Running, Finished, Error) or its results if it has finished.

You can download the sample QueueRobot.robot, Queue.type and Test Robot from here

Adding credentials to the "REST Step"

Robot Queuing is quite easy, but you have to be careful of two things.

  • You can enter credentials here from version RPA 11.1.0.2, (19 Dec 2020) or later image
    for earlier versions you must use pre-emptive Basic Access Authentication and Base64 encode them and enter them here
    image
    The 4th converter adds Authorization: Basic before the Text.

Base64 encoding

You must also Base64 encode any binary attachments to robots, eg PDF, Zip, Images, Excel, MP4, MP3, etc.
See the Robot Step Set Robot Input - Image to see how to convert an image to Base64 and add it to the robot input.
image
image

  • Test.robot has 3 inputs (text, number and image) and simply writes the values to the log
    image image image
    Here you can see how the text "hello", the number 65, and the image are added to the JSON
    image

Swagger UI

Kofax RPA 11.1 introduces a user-friendly REST interface tool to help build and test REST service calls. It is available at http://localhost:50080/api/swagger-ui.html
image