How to know exact machine send final email

hi,
i have one process 5 machine is there , while bot running in 5 machines one machine send final email for process completed like. how to know which machine send final email ?

how to implement this ?

Hi @Anand_Designer

You can add a log activity at the end of your process using the following code

Environment.MachineName

image

Regards

1 Like

Hi @Anand_Designer

This method retrieves the machine name from the environment variable. Here’s an example of how to use it:

MachineName = Environment.MachineName

You can then use the MachineName variable in your alerts or emails

Check out this document

Regards
Gokul

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.