Hi All,
I have a plugin to create a case synchronously with certain attributes. On an average, the service.create call takes around ~2-3 Seconds to execute. But few times it takes 10-20 seconds to execute the same call with similar number of attributes.
Has anyone experienced this behavior before? Please suggest in case you've any thoughts on this problem.
Thanks,
Meet
It depends totally on your implementation.
Check if you have any synchronous plugin on create of case which may have some logic dependent factors that takes time.
Any team assignment/queue tracking/sla/entitlements kind of functionalities implemented, then monitor them.
Any real-time workflow for sending email as first response can be checked too.
If you're making changes to the plug-in it will usually take longer to execute the first time than others when it isn't cached. If this is being executed asynchronously the execution start depends on available resources and could get delayed some before starting.