Cannot pass Ticket ID as a command value from Task editor

Hello,
the title says it all - I want a task editor where each task represents a ticket. To do some automation on the tickets I need to pass the Ticket ID from the task editor as a command value. No matter what I try, it does not work :confused: Please check the screenshots:

Task template:
image

Task commands:
image

Test rule:
image

In the template preview, I get the correct Ticket Id:
image

The show message action, however, returns the text instead of the Ticket Id:
image

Any help would be much appreciated.

Thank you, stroodl

Any suggestions please? When I pass {ORDER UID} it works as expected and returns the UID.

I believe it has something to do with the location of “(Ticket Id={TICKET ID})” within the task template but nothing worked for me…

Does it shows anything if you pass the value thru an automation command value when the task is completed? (TID={TICKET ID})
image

Show your rule in which Event you setup the rule, try with Ticket Closing event if the event is another one.

It returns the same text when I put the rule in the Task complete commands:

Here is the test rule. It just shows the command value as a message:
image

The thing is that in the template preview it shows the correct data:
image

But the rule gets the second row as a command value instead:
image

image

Isn’t it a bug?

Show the rule in which you create the task.

Well, I backed up the database to restore an older one just to copy some non-related script. After restoring the current database, without changing a single byte of data, it works now…