There may be rare scenarios where the ticket requester and the agent assigned to the ticket are the same. In such cases, even though the agent responds to the ticket, it will trigger workflow automations that have events based on the requester's response. 


Here, the system cannot distinguish between the requester and the agent and only compares the email address. Since the agent's email ID matches the requester, the workflow gets executed.


To avoid such issues, you can add another condition to your workflows that compare the agent's and requester's ID by following the steps below.

  1. Navigate to Admin. Under the Automation and Productivity section, select the Workflow Automator option.

  2. Click on your workflow, and select the Edit option by clicking on the 3 dots next to Activate.

  3. Update your Condition section with the following check as per your business use case. 

    1. Select the ‘Build Expression’ radio button.

    2. Under the Body section provide the condition as equals({{ticket.agent.id)}},{{ticket.requester.id}}) to compare the agent’s ID with requester’s ID.

    3. Click on Done.

  4. You can then skip the Action block if the above condition is satisfied.

  5. Once you have made the necessary changes, click on Activate for the workflow to execute for upcoming tickets.


    Condition to compare agent ID and requester ID


Please reach out to support@freshservice.com if the issue persists, and one of our Support Specialists will help in resolving the issue.