Freshdesk OnTimeEntry

Hello :slight_smile:

I am trying to retrieve company_id via the onTimeEntryCreate / Update. Problem I am having is that “payload.data.actor.name” works fine, but “payload.data.actor.company_id” always returns the null value.

As I understand from (article below) this should work. Can I ask someone to confirm this for me?

https://developers.freshworks.com/docs/app-sdk/v2.3/freshdesk/serverless-apps/product-events/ontimeentry/

The line I am using is ‘const time_company_id = payload.data.actor.company_id;’

Any clues?

So, well, sometime you just get stuck. A good time for reflection and a big ol’coffe. Afterwards you read this sentence in the documentation.

“Information pertaining to the entity who triggers the onTimeEntryUpdate event in the Freshdesk system.”

And since this is a server.app you realize your misstake. Well, issue solved, bug removed from the computer…