Hello,
When installing an ‘in dev’ app into freshdesk - the events are not being fired at all.
Meanwhile if I publish the app into the Developer portal,- the events work just fine.
platform-version : 2.2
Hello,
When installing an ‘in dev’ app into freshdesk - the events are not being fired at all.
Meanwhile if I publish the app into the Developer portal,- the events work just fine.
platform-version : 2.2
Simulating events work normally. What Im trying to do is install the dev app into the system to work with actual events and they’re not firing.
Installation of dev app in gallery is for simulation iparams/custom iparams page. for testing app rendering we have to attach ?dev=true
to the url and for production events we need to use http://localhost:10001/web/events
. And as mentioned in the doc:
if you need an actual ticket/contact to be created, then it is recommended to publish your app as a custom app and test the operation manually.
Hi @rimvydas
This is a intended behaviour for now. The In dev
tag that you see in app list within host freshdesk is to simulate the app configuration page only. That is to try app installation. We appreciate your expectation to simulate all product events within the product itself.
For the product event, (For example the product event is onTicketCreate
)
fdk run
command.onTicketCreate
event. A payload data will be shown that will be sent in the parameter for this event handler function. This test data is stored under the /server/test_data
directory of the app which can be modified in the file or in this page to receive the required data for your test scenario. This file is relevant only for simulating the event.Simulate
button. Now, the event will be triggered to the app, the log message from the event can be found in the Terminal or Command Prompt where the app is run.This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.