Active
Project:
Workflow-ng
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Aug 2007 at 19:23 UTC
Updated:
27 Aug 2007 at 15:09 UTC
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
Comment #1
fagoI 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.