krileon wrote: The only way for you to reliably return is for you include the return URL with your action URL. The best way to do this is base64 encode the URL and send it as &return=BASE64_URL_HERE. Then in your redirect action you can use the below to decode and redirect to it.
[cb:parse function="decode" method="base64"][get_return][/cb:parse]
Note you'll need to enable format functions for the action under parameters.
Meanwhile I've also found the hint on this parse function on the action edit page, ha.
While the general concept works, something must be wrong with either encoding or decoding. Maybe it's due to me encoding an SEF-friendly relative URL (e.g. "first-part/second-part"), but if I send whatever base64 garbage it's encoded into as &return=, the decoding produces just a different bunch of garbage, but doesn't resolve it to what it was before encoding.
Anyway, what I'm doing now is sending the relative URL as is (in the fashion "&return=first-part/second-part") and using
[cb:parse function="decode" method="url"][get_return][/cb:parse]
in the return action. And it works, so I'm happy
Now, if there were only an "OR" option for conditions in Auto Actions - as already asked for in other threads...
Because since I want to use this return action for multiple others, I may be able to utilize "Greater than" and "Less than" to catch some that are within a certain range of action IDs, but as the jungle of actions is growing, this won't work anymore... unless I go into the DB and alter action IDs manually, of course... something you don't want to recommend to anyone who doesn't know exactly what he's doing...
Whatever.
I gotta say at this point, FWIW, that time and time again I'm blown away by Auto Actions - a fantastic, greatly powerful and flexible tool! Seen attempts of providing similar functionality in other extensions, but nothing gets even only remotely close to your Auto Actions! Thank you so much for giving us this extremely helpful gizmo!!!
You've heard it elsewhere, and I can clearly see the workload it would mean, but of course it'd be a dream coming true if there were complete and detailed docs for it rather than the "rudimentary overviews" available.
Meanwhile, I guess we'll keep coming back here from time to time poking you and asking silly questions...