Date expression procedure property

Official Content
This documentation is valid for:
A procedure that returns the date and time of the next execution.

Scope

Objects: Business Process Diagram

Description

Visible if Timer Expression Type is set to 'Procedure'.

Allows setting a procedure that returns the date and time (DateTime data type) in which the event will be triggered next.

If Timer definition property is set to 'Date' or 'Duration', this procedure is called just once; if Timer definition property is set to Cycle, the procedure is called again after a timer is triggered. If it returns a past date and time, the timer event will not be triggered again in that process instance (unless the control flow returns to the timer).

The associated procedure must have the following parm rule:

parm( in:&WorkflowProcessDefinition, in:&WorkflowProcessInstance, in:&WorkflowWorkitem, out:&DateTime)

Where:

&WorkflowProcessDefinition is a WorkflowProcessDefinition Data Type variable

&WorkflowProcessInstance is a WorkflowProcessInstance Data Type  variable

&WorkflowWorkitem is a WorkflowWorkitem Data Type variable

&DateTime DateTime data type variable.

Run-time/Design-time

This property applies only at design-time.

How to apply changes

To apply the corresponding changes when the property value is configured, execute a Build All.

Availability

This property is available since GeneXus 16 upgrade 4.