Is it possible to have a logic hook that is executed return any kind of results?
If I have a statement like this:
$x = $case->save();
Is it possible for any of the logic hooks to return a message so that I can read it in $x?
Thanks
Is it possible to have a logic hook that is executed return any kind of results?
If I have a statement like this:
$x = $case->save();
Is it possible for any of the logic hooks to return a message so that I can read it in $x?
Thanks
I would try just adding a new member to the bean.
Inside the hook:
$bean->myReturnValue = "something";
Outside:
if ($case->myReturnValue == "something") ...
That should work. I’ll give that a try.