0

Is it possible to retrieve Relationship Type Name in addition to an ID as Rules Token in Drupal 7? It would add some value to "Create/Edit Relationship" Rules action: we could use it in emails, like "Hello mr. Dow, congrats, you're Organizaton Boss of The Company now" instead of "Mr. Dow, you are [Relationship ID] of The Company". I'd like to provide a patch for civicrm_entity but not sure where to start from. Any advise, please?

Cross-posted here: https://www.drupal.org/project/civicrm_entity/issues/2986112

1 Answer 1

0

It seems that Fetch CiviCRM entity by property action loads anything else but ID, so, in order to get a full Relationship Type, one may want to use another action with almost the same name has been used ( Fetch entity by id) which loads Relationship Type by its ID from any Relationship.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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