View Single Post
Old 05-24-2023, 10:07 AM   #1104
dragoworld235
Enthusiast
dragoworld235 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Oct 2012
Device: kobo libra 2
Hi, is there a way to use a chain as an action in another chain?
I’m trying to use composition instead of having to rewrite every actions when creating specific chains.

An example.
I’m using custom column for the #type of ebook (book, manga… it can take more than one value, and an imported file is set to none), its #origin (bought, given), its #source (what store…), if I’ve #done cleaning it.
I’ve got a chain "1" for setting the #type to "book" (removing "none" and adding "book").
A chain "2" to set to a specific bookstore: set #origin to "bought" and #source to "7switch".
A chain "3" to set #done to true.
When working on a batch of books (for example re-importing all my bought books from the 7switch store), I would like to create a chain "4" that is just a composition of "1", then "2", then "3".

Is there already a way to do that that I’ve missed?
Thanks a lot for all the work.
dragoworld235 is offline   Reply With Quote