How to get file path automatically in activity for another system?

Actually, I was facing a problem like when we give the code to another user, they had been uploaded the code and run into their system, the file path is not taking automatically from there system, we used to change the path, how to get file path automatically in another system integrates?
Which syntax and activity need to use?

@Bhavik_Solanki @mz3bel

Can you check it below image, where we are asking to get file path automatically in the send email activity, attachment folder.

@Yoga_Sandeep, Probably best way is to use relative path rather than full path. :slight_smile:


@Bhavik_Solanki We can’t able to get file path automatically? Is there a way to use a syntax for this get file path function?

@Yoga_Sandeep, Certainly you can get file path using following syntax:

new FileInfo(“Test.xlsx”).FullName

Cheers :slight_smile: