Audio file & call for an audio file in the workflow

Dear all,
How do get the robot to sound by playing a sound file or making some noise when an activity is completed?

What kind of commands can be used?

Hi @annie.ching

I ran across this thread that shows PowerShell can be used to load the System.Media.SoundPlayer .NET class, which can be used to play a wave file.

Works fine in PS on my machine but can’t hear sounds on the remote UiPath dev machine I use but this should work. I think. Just drop in right after the activity you want to monitor.

PlaySound.xaml (4.7 KB)

Kinda curious so please let me know. :slight_smile:


I have tested it using a .mp4 file (replaced the file parameter).
I have hit into this error message;

The path for the MP4 file is correct

any solutions for this?