0

We tried to follow https://civicrm.stackexchange.com/a/10907/7846 from Noah Miller to use a custom event token in a scheduled reminder without success. We dumped all the variables used by the hook civicrm_tokenValues ($values, $cids, $job, $tokens and $context) but we could not get the event_id even if Noah says it is available.

$event_id = CRM_Utils_Array::value('event.event_id', $values)

stays null.

So is it possible to use a custom event token in a scheduled reminder and if yes, how do we get the $event_id ?

3
  • What entity are you using for the scheduled reminder? Commented Dec 16, 2020 at 16:40
  • For my test, I tried "Event Name" but in production, it will be event type...
    – cfab
    Commented Dec 17, 2020 at 13:57
  • Event type is not working either...
    – cfab
    Commented Dec 17, 2020 at 14:17

0

Your Answer

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

Browse other questions tagged or ask your own question.