I have two highly related smart actions (A & B for reference) in a collection and I’m wondering if after the execution of smart action A, I can give our user the option to execute smart action B on the same selection of records.
i.e.
res.send({html:
<p> click to run <a href="forest/actions/..."> Smart Action B</a> on selected records</p>
...
)}
The important thing would be to still have access to the records selected for smart action A to then perform smart action B on those same records.
Currently you cannot do that. But you could allow this option thanks to a checkbox before submitting the action. This way in your backend code you can handle the action B if the checkbox has been checked.