Saving image with defined image variable

im trying to save my image as below but just cannot figure out how to use the already defined variable instead of having to type it everywhere

To Save the image, you must have “screenshots” folder in your project folder. If not, it will give an error as “Save image failed. Check if the file name is a valid path”. Also check the scope of your image variable as variable must be accessible while using save image activity.

Main.xaml (5.3 KB)