Skip to content

UiPath bot to schedule execution of local or attended automation using Windows task scheduler

Notifications You must be signed in to change notification settings

michaelconan/uipath-localscheduler

Repository files navigation

Automatic Bot Scheduling

Creates scheduled task to invoke bot with Task Scheduler using the UiRobot command line interface.

Version update functionality assumes that UiPath Orchestrator packages follow a specific structure:

  • Each automation project has a JSON-formatted automation.info file in the root project folder
    • .info file format:
    {
        "guid": "<guid>",
        "name": "<name>",
        "version": "<version>",
        "environment": "<environment>",
        "main_workflow": "Main.xaml"
    }
    
  • Orchestrator packages are named using the GUID mentioned above, optionally with a version suffix (e.g., -v<#>) if an entirely new package is loaded for a process

UiRobot Command: UiRobot.exe execute [--process <Package_ID> | --file <File_Path>] [--folder <Orchestrator_Folder_ID>] [--input <Input_Parameters>]

Supports the following actions:

  1. Schedule Orchestrator bot (via Robot Runner)
  2. Schedule local bot (by selecting project.json file)
  3. Updating Orchestrator bots to the latest version
  4. Importing scheduled task from XML file (generated from process)
  5. Adding input arguments to options 1 or 2

Scheduling actions perform the following (using schtasks):

  • Creates a schedule task in Microsoft task scheduler
  • Exports a .xml file of the scheduled task to be imported or shared
  • Generates a .bat (windows batch) file to execute the bot via script directly

About

UiPath bot to schedule execution of local or attended automation using Windows task scheduler

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published