Thank you, I noticed we can use an Output from path Exist activity and is indeed a workaround, but I would prefer a cleaner sollution. (Ex: Iresourcetype = strpath.Convert(resource)).
It should have a way but I failed to find online.
Best regards,
Octavio