Can a logic hook send or receive data?

I am trying to send an AJAX to a loogic hook to get the id of a newly created Case, but I am not getting an answer, also and I have been trying to do it by CURL towards another php but I am not getting any answer either, is this possible or not?.

Thanks!

Im working in Sugar CE 6.5.22.

Parents
  • I am not sure what you mean by sending an AJAX to a logic hook...

    In a logic hook you have the bean as one of the parameters being sent to your method ($bean, $event, $arguments)

    An After Save logic hook will include the $bean->id of the record you just saved (note that a before save does not yet have one). 

    FrancescaS

Reply
  • I am not sure what you mean by sending an AJAX to a logic hook...

    In a logic hook you have the bean as one of the parameters being sent to your method ($bean, $event, $arguments)

    An After Save logic hook will include the $bean->id of the record you just saved (note that a before save does not yet have one). 

    FrancescaS

Children