When a node's transition state is changed, workflow is logging the state change to watchdog. I'm migrating in thousands of nodes, and this is filling up the migrate message table. Migrate maintainer suggested patching workflow in this scenario: #1594678-5: Option to suppress notices.

Comments

bdone’s picture

Status: Active » Needs review
StatusFileSize
new120.91 KB

attached patch adds an admin UI option and conditional watchdog logging:

Screenshot_4_22_13_4_05_PM.png

bdone’s picture

StatusFileSize
new3.58 KB

forgot the patch

nancydru’s picture

Status: Needs review » Needs work

I don't think workflow_update_6100 is going to be executed on a 7.x site. I wasn't even aware it was still there; I need to yank it out.

nancydru’s picture

Status: Needs work » Needs review
StatusFileSize
new8.63 KB

How does this look? [Sorry, includes another pet project...]

bdone’s picture

Status: Needs review » Reviewed & tested by the community

$noyes = 'Yes!'

patch looks good, thanks!

nancydru’s picture

Yeah, I prefer No/Yes to a single checkbox.

nancydru’s picture

Status: Reviewed & tested by the community » Fixed

Committed

bdone’s picture

thanks!

Status: Fixed » Closed (fixed)

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