You can trigger MICHIRU RPA automation set using external instructions.
Triggering Execution from Task Scheduler
By using the Windows Task Scheduler, which is included as a standard feature in Windows, you can execute automation sets that are already created a specified dates and times. This allows processes to be automatically executed regularly, such as before business hours or during the night.
Refer to this link for more information.
You can also use the “MICHIRU Assistant” trigger feature, available in MICHIRU RPA Ver. 1.4.4.0 and later, to run the process at a specified date and time. For details, please refer here.
Execution via the Command Line
You can execute automation set using commands line.
The following explanation uses command input in the Windows Command Prompt as an example.
Simple Execution
Here is the way to execute an automation set using the Command Prompt.

- Launch Command Prompt.
- Enter the command in the following format.
[File Path] + (space) + [Automation Set Name]
If automation sets are organized into groups or saved in a shared folder, the path must also be specified on the [Automation Set Name] part.
▼Example for automation set called “automation_command_line”:
“C:\Program Files (x86)\MICHIRU\MICHIRU_RPA\MICHIRU_RPA.exe” automation_command_line - Press “Enter” key to execute.
After this MICHIRU RPA will launch and the specified automation set will be executed.
Execution with Input Value Passed to “Startup Parameter”
Here is the way to pass an input value, and execute an automation set using the Command Prompt.

- Launch Command Prompt.
- Enter the command in the following format.
[File Path] + (space) + [Automation Set Name] + (space) + [Input Value]
▼Example for automation set called “automation_command_line”, with “123” as input value:
“C:\Program Files (x86)\MICHIRU\MICHIRU_RPA\MICHIRU_RPA.exe” automation_command_line 123 - Press “Enter” key to execute.
After this MICHIRU RPA will launch and the specified automation set will be executed with the input value already passed to the “Startup Parameter”.
Execution with Input Value Passed to Specified Data Save Destinations
Here is the way to pass input values to data save destinations, and execute an automation set using the Command Prompt.

- Launch Command Prompt.
- Enter the command in the following format.
[File Path] + (space) + [Automation Set Name] + (space) + {"[Data Save Name]":[Input Value]}
The last part of the command,{"[Data Save Name]":[Input Value]}, is in a JSON (JavaScript Object Notation) format.
When specifying multiple data save destinations, enter them separated by commas, like this:{"[Data Save Name]":[Input Value],"[Data Save Name 2]":[Input Value]}.
▼Example for automation set called “automation_command_line”, with “abc” as input value for “Data1” and “ABC” for “Data2”:
“C:\Program Files (x86)\MICHIRU\MICHIRU_RPA\MICHIRU_RPA.exe” automation_command_line {“Data1″:”ABC”,”Data2″:”abc”} - Press “Enter” key to execute.
After this MICHIRU RPA will launch and the specified automation set will be executed with the input value already passed to the specified data save destination..
Behavior Settings for External Execution Requests
When receiving execution requests from external sources (Task Scheduler/Command Line), or from MICHIRU Assistant, the automation set is executed immediately if MICHIRU RPA is not already running. However, if MICHIRU RPA is in one of the following states, its behavior depends on the “Confirmation message when receiving an automation set instruction from an external source” setting in the “Other” tab.
- When editing an automation set
- When executing an automation set
- When an automation set is stopped due to and error
The configuration for how MICHIRU RPA should handle external execution requests is done in the “Other” tab

Behavior of Each Setting
The following table explains the behavior that changes based on the setting.
| Setting | When editing | When executing | When stopped by error |
|---|---|---|---|
| Show confirmation message. (Ignore errors) *This is the default setting. | Display confirmation message. | Display confirmation message after the execution. | Ignore errors and display confirmation message. |
| Show confirmation message. (Wait if execution is stopped due to an error) | Display confirmation message. | Display confirmation message after the execution. | “Wait for execution. (Resume execution after closing the error message)” |
| Do not show the confirmation message. (Execute ignoring errors) | Execute immediately. | Execute immediately after the automation is finished. | Ignore errors and execute. |
| Do not show the confirmation message. (Cancel execution while stopped due to an error) | Execute immediately. | Execute immediately after the automation is finished. | Cancel execution. |
Confirmation Message
The following image shows the example of confirmation message displayed depending on the settings for “Confirmation message when receiving an automation set instruction from a external source”.

The automation set will be executed when selecting “Execute”, and canceled when Selecting “Skip”.
If selection is not done within 30 seconds, “Execute” will be selected automatically.
Copy of automation set created in case of external execution.
If an execution request is received from an external source while you are editing an unsaved automation set, the automation set being edited will be automatically saved under a different name.

