Can't seem to figure out how to trigger the "publish this post" action on the bookmark flag.
Only three "Add new flag action" options available..but not the one I want.

Thanks.

Comments

quicksketch’s picture

Category: support » feature

There's still quite a bit of thought that needs to go into the actions support. Currently in actions, there is no ability to configure properties for when an action takes place. This means that every action for flag needs to be re-implemented specifically to add in the "which flag, and at what threshold" options. So it's a bit of a conundrum as to what should happen for total actions support. Right now, this means we need to re-implement every action specifically to support flags. Which is sort of the opposite the effect I thought we were going to achieve with actions support.

So, in general. I think we need to re-think the approach to actions. I know that's not as helpful as just implementing the action you need, but this is going to come up over and over again after flag is released as a final version.

mooffie’s picture

Yep, the Actions module doesn't have a notion of 'condition', so the 'action' entity has to handle both an action and a condition. That's horrific, as your question exemplifies, and that's why I find Actions to be utterly useless. How it managed to get into D6 is a mystery to me.

That's why the wokflow-ng module was invented: it has a separate 'condition' entity which allows the 'action' entity to be free of the "on what circumstances?".

quicksketch’s picture

Status: Active » Closed (duplicate)

This request is handled in #298846: Improve Actions2 Support, which supports all of core's actions while removing the custom ones that flag provided previously.

suresh7787’s picture

Hi,
I am kid in drupal development,
I am using the two flags borrow and unborrow for books,
when clicked the borrow i need a form to enter the details like delivery address and then i have to submit those details to my database. I just search if there is any flag actions to do this. But I couldn't. Can u help to find a way?