4

In a rule I have 2 actions, the first one provides a variable (my_var_name). But in the second action this var is not shown as available.

screenshot

screenshot

I can't figure out what the problem is.

1

I was having this problem with a different module with Rules. I believe the data types are conflicting. node:author:name is a string, while the value have calculated is an integer, a decimal or a float.

My Problem:

User Field - Voting Currency (set as integer)

Event:

  • Vote was cast on entity

Action:

  • Query database for the value of the vote cast
  • Calculate the value to add/subtract from the Voting Currency field
  • Set the new value of Voting Currency field.

I discovered the vote was a decimal data type. I removed the Voting Currency integer field with a Voting Currency decimal field and everything worked!

protected by kiamlaluno Nov 8 '12 at 14:26

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.