Jump to content

Smart Event Not Working


 Share

Go to solution Solved by Lee Savidge,

Recommended Posts

Hello,

I'm in the process of setting up smart events for the first time in Sage Intacct. I am trying to send some data through an event. For testing, I created an event to send anytime a timesheet entry is created, deleted, approved, or declined.

Here is what my event looks like:

image.png.1d1f89748d843725ae47f811708ea2a9.pngimage.png.a4e3863dadd9148c2e026b7822fa2465.pngimage.png.cefda40d38abc10c575a648933e64bde.pngimage.png.9cd171164445a3128110305003407bfc.png 

I've followed the example here: https://www.intacct.com/ia/docs/en_US/help_action/Default.htm#cshid=HTTP_post_Smart_Event

I am able to send data to this URL; I tested in in Postman and it works. However, nothing happens when I create a timesheet in Sage. I expect to see a message in my API logs, but no such thing happens.

Can anyone offer guidance in regards to what I am missing here or doing wrong?

Thanks,

Ember

Link to comment
Share on other sites

  • Members

@Ember Robb I have a personal AWS web server and I setup the same smart event that you defined except I pointed to my endpoint.

My endpoint logs the request into an output file. This is working without issues for me. Also you can check the smart event log under Company > Admin > Smart Event jobs to see the status of your job.

 

image.png

Link to comment
Share on other sites

  • Solution

Just looked at this. Two things. When sending arguments to the HTTP Post end point, you don't need to separate them with an &. You can just put them in a long list like this:

sessionid={!USERPROFILE.SESSIONID!}
endpoint={!API_ENDPOINT!}
useremail={!USERPROFILE.EMAIL!}
 

Smart events and triggers are limited to using port 80 or port 443 only. I raised a support case about this a while ago and got that response. It is annoying especially if you have multiple site configured and port 443 is already being used by something and you can't share it.

  • Like 2
Link to comment
Share on other sites

 Share

×
×
  • Create New...