Comment 4 for bug 1777677

Revision history for this message
Kyle Huckins (khuckins) wrote :

Bill,

If I'm understanding that right, we'd need to create the event, presumably using 'open-ils.trigger.event.autocreate.by_definition', and follow up by retrieving the new event's ID and calling 'open-ils.trigger.event.fire'. I'm running into an issue where calling the event.autocreate series of APIs returns a payload without a statuscode, which makes opensrf.js cranky. The APIs seem to return undef in the code. The payload does have a hash of the event's information when it goes through opensrf.js, but the event isn't created, I'm guessing because of the lack of a statuscode.