Duplicate note added inconsistency in freshdesk

Hi Team,

Scope is: The freshservice ticket copy is going to add in freshdesk when status is changed in freshservice.

Code step:

  1. Create ticket in freshdesk.
  2. Update ticket field in freshdesk.
  3. Add private note in freshdesk.
  4. fetch all public note by freshserivce ticket id.
  5. Iterate freshserivce note one by one to add in freshdesk.(Each iteration we will check that conversation username has exist in freshdesk, if username not exist, we can create a user then after add note and also check the note notifier email is also exist or not, then we will also add)

We have recieved response inconsistency
ex code like:

notes = [conv1, conv2];
for loop...

...Here is some api call's are perform...

console.log("Add note...");
request.post(options, (res, err, body)=>{
console.log("Error...");
})
end loop...

The response be like:

Add note...
Error...
Add note...
Error...
Error...

Thank you.

1 Like

Hi @Karuppu_Samy,

Do you still face this issue?
Could you split the functions and execute only the ticket creation and remove all other parts to narrow down the issue and see adding which part is creating inconsistent flow?

1 Like

@Karuppu_Samy - We haven’t heard from you in a while.
Hoping this might’ve been solved, I am closing this topic. I request you to create a new topic if you have any further questions.