Yes,
It will throw error because it will search for particular folder and Asset
instead of selecting folder name/Asset name from activity store the value in Config file, or let it be blank for folder name field, then it can take from wherever it executed like if it is executed from staging environment it will access staging assets or if it runs in production it will run in production environment
Best suggestion use config file store your folder name and asset names over there.
then you can simply access that file modify with out any other conflict.
Happy Automation