Hi,
I'd like to redirect to another page, based on the deleted content (i.e. a Token of a node reference from the deleted content).
It doesn't do so - maybe the content is deleted before the token is loaded?

array (
  'cfg_6' => 
  array (
    '#type' => 'configuration',
    '#altered' => false,
    '#event' => 'node_delete',
    '#label' => 'Delete Review - back to style',
    '#active' => 1,
    '#module' => 'workflow-ng',
    1 => 
    array (
      '#type' => 'condition',
      '#name' => 'workflow_ng_condition_token_compare',
      '#settings' => 
      array (
        'regex' => 0,
        'used arguments1' => 
        array (
          0 => 'node',
        ),
        'text1' => '[node:type] ',
        'used arguments2' => 
        array (
        ),
        'text2' => 'review',
      ),
    ),
    2 => 
    array (
      '#type' => 'action',
      '#name' => 'workflow_ng_action_drupal_goto',
      '#settings' => 
      array (
        'path' => 'style/[node:field_style_reference-nid]',
        'force' => 1,
        'path_args' => 
        array (
          0 => 'node',
        ),
      ),
    ),
    '#name' => 'cfg_6',
  ),
)

Comments

fago’s picture

I just tested if the node is available - it is!
So I don't know what's the cause for your problem, perhaps try to figure out the values of the messages by testing it with system messages.