I would like to calculate a value and then use it in a action chain.
Specifically, I want to check which of two devices is connected (I know how to do that), and then either search for books with a (device specific) tag along with other search parameters, or pick a specific premade search (depending on which device), and remove the tag, along with other device non-specific actions on the same set of books.
If I could branch within the chain, that would make this easy, but it would be easier if I could pick a search or use a calculated constant...
Is there a way to do this currently? (or could it be added?)
Edit: I think I figured out how to do it (untested yet) by just prefixing the chain with a search that will come up empty on the wrong device and then duplicating the chain for each device. But it would be more elegant if I could use a calculated value.
Last edited by compurandom; 12-16-2020 at 08:15 AM.
|