Hi everybody,

using Rules, I've noticed that there's only a "Check workflow transition" condition available, but I'd need a condition like "content has workflow status" to check if a content is in a particular workflow status.

Thank you very much for your work!

MXT

Comments

franz’s picture

Status: Active » Needs review
StatusFileSize
new2.26 KB

MXT, I did a simple code on this, haven't tested yet. If you mind testing...

franz’s picture

StatusFileSize
new2.32 KB

I'm sorry, I uploaded the wrong patch, it was not complete yet. Here is the right one.

dropchew’s picture

subscribe

franz’s picture

Can anyone review these patches and report whether they are working?

mxt’s picture

Status: Needs review » Reviewed & tested by the community

Patch in #2 tested successfully, works fine for me.

Thank you very much Franz!!!

Could someone commit this?

Thanks a lot.

MXT

jvandyk’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Will appear in 6.x-1.5.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.