In the original code I did not have any scheduling, just one workflow, which retrieves the token, stores it in the custom state and uses it - and that did not work, unfortunately