Was trying to set up a rule to create drupal user records linked to CiviCRM records that do not have them, The rule is this:
EVENT
CiviCRM Contact has been created
Contact has been updated
Conditions NOT Drupal User Account can be created for user (this condition creates the user) Parameter: CiviCRM Contact: [civicrm-contact:civi-user..., Activate Account: true, Send account notification email: true, Instant signin: false
Actions Create or Load Linked Drupal User Account Parameter: CiviCRM Contact: [civicrm_contact], Activate Account: true, Send account notification email: true Provides variables: Created or Loaded Drupal User (civicrm_user)
Show a message on the site Parameter: Message: Drupal User Linked or...
Unfortunately we don't seem to be able to trigger the rule by updating a contact, we just seem to get this error in the watchdog:
MESSAGE Unable to get variable civicrm_contact, it is not defined.
Does anyone know how to get this working? Thanks!