I'd like to set following rule

Title: Redirect to profile page, if a CCK field of content profile is unchecked

I set condition: Logged in user has his Profile created
I set action: Load logged in user's Profilo
I set condition: Textual comparison

When I try to set text comparison I chose "Replacement patterns for Content Profile"
Two texts to compare: [profile_node:field_user_confirm-raw]
Two texts to compare: no

I set action: Page redirect

Then I test the rule, and the first time I get the rule executed, but not the next times (it seems to stop working)
When I go be to check the rule I discover that "Replacement patterns for Content Profile" item has disappeared

any help?

CommentFileSizeAuthor
#8 rules.txt10.46 KBAnonymous (not verified)

Comments

nevets’s picture

Component: Rules Core » Rules Engine

There are two points there.

The first is depends on what you mean by "but not the next times". Normally that would imply a second rule on Profile update. (though I wonder, I would expect since you have a content profile to use rules for creating and updating content with a condition on node type).

For the second part "item has disappeared" I have not clue.

Anonymous’s picture

"but not the next times" it means that the rule is executed just the first time. I'd like the rule to be executed until the CCK field is checked. Sorry for my english, and thanks for your help.

nevets’s picture

That means you need another rule for when the profile is updated (profile created rules only fire once)

mitchell’s picture

Status: Active » Fixed

This appears to be fixed, please reopen if you have more questions.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Anonymous’s picture

Status: Closed (fixed) » Active

solved

Anonymous’s picture

Status: Active » Closed (fixed)
StatusFileSize
new10.46 KB

I finally found a working solution