What are the variables of an instance?
In the documentation, I see:
The instance variables (instance.vars.xxx) are comparable to global variables. They are shared by all activities.
What are the options for the XXX part? A user is using /@hora .. but I don't see hora as a column of xtk:workflow. That XXX part should be only one of the columns of xtk:workflow, right?
SubMinutes( GetDate() , $(instance/vars/@hora) * 30) // Removing the And condition fixes the workflow.

Also, according to documentation, in oder to use it you have to define it first in an JS activity, and the

But the query activity doesn't have anything defined and the JS "Data" activity,,, doesn't define anything.

The error log is:
07/25/2024 11:49:56 AM b0-42d7-8ff1-b55cfdeb4fcf') AND (P0.tsCreated = SubMinutes(GetDate() , '' * 30))) AND ((P0.iPipelineEventId > 0 OR P0.iPipelineEventId < 0))' could not be executed.
07/25/2024 11:49:56 AM WDB-200001 SQL statement 'INSERT INTO wkf94388735_81019_1 (mData,sCodinternocomputacionalhash,sRUBRO,tsCreated,iId) SELECT DISTINCT P0.mData, NULL, NULL, P0.tsCreated, P0.iPipelineEventId FROM AcxPipelineEvent P0 WHERE ((P0.sTriggerType = E'a80c22d9-97
07/25/2024 11:49:56 AM PGS-220000 PostgreSQL error: ERROR: invalid input syntax for type integer: "" LINE 1: ...4fcf') AND (P0.tsCreated = SubMinutes(GetDate() , '' * 30)))... ^ .

