Creating a Viewer with Current System Date/Time - EnterWorks_Process_Exchange_(EPX) - 10.6

EnterWorks EPX Process Modeling

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks > EnterWorks Process Exchange (EPX)
Version
10.6
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks EPX Process Modeling
First publish date
2007
Last updated
2023-07-28
Published on
2023-09-20T04:05:11.973084

Two system work item properties are accessible for generated work item viewers to display the current system date or time:

  • sys.datetime - represents the current time in the system format

  • sys.time.millis - represents the current time in milliseconds

Note: Both of these properties may be accessed in work item types, viewers, BICs and DPA. To include the sys.datetime in a generated work item viewer, follow the instructions below:

  1. Create a work item type named sys. For details on how to create work item types, see Creating Work Item Types.

  2. Add a metadata row named datetime with Datetime as your data type. Type a descriptive text in the Label box, for example, Current Date and then select Text Field as the HTML Input Type. Save the metadata field to the table. For details on how to add a metadata row, refer to Adding Metadata.

  3. Create a new process flow.

  4. Add the sys work item type to the Work Item Types tab of the process editor.

  5. On the process editor Viewers tab, add a new work item viewer. Right-click the fields table and add the Datetime field of the sys work item type. Generate the viewer file. Refer to Adding Work Item Viewers for more details.

  6. Click OK to save the process flow.