Retry a failing activity with new parameters?

Hi

I have a activity that fetches data from facebook. Sometimes the activity fails because the access token has expired. If I signal the worker with new credentials, will it change the inputs for the retrying activity, or won’t it work?

An another alternative for me is to wrap the activity in a while(True) loop that will await for signal at failure.

What do you think would be the best solution to this?