freescout-help-desk / freescout

FreeScout — Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative)
https://freescout.net
GNU Affero General Public License v3.0
2.75k stars 468 forks source link

Workflows module. Replay delay #4027

Closed ADMAROG closed 1 month ago

ADMAROG commented 1 month ago

Hello. There is a small problem with the Workflows module. Task: Duplicating information on custom fields in a ticket so that the user who sent it could see what was generated in the request. To do this, we decided to use Workflows, where we would work out the “Reply to Conversation” action, which uses variables. But the response happens so quickly that the variables do not have time to receive information from the custom fields. But if you execute the script with a delay of a few seconds, then there is no problem and the information has time to catch up. image

PHP version: 8.2.7 FreeScout version: 1.8.139
Database: Mysql (10.11.4-MariaDB-1~deb12u1) Are you using CloudFlare: No

freescout-helpdesk commented 1 month ago

Can you attach screenshots of Events and Actions tabs of your Workflow.

ADMAROG commented 1 month ago

Of course. markup_1000020087 markup_1000020089 markup_1000020090 markup_1000020091

freescout-helpdesk commented 1 month ago

We can't reproduce the issue on our end.

ADMAROG commented 1 month ago

Is it possible in the future to add a Relpy to Conversation delay to the wokrflows module in actions? It would be very cool and it would solve our problem.