Identity Director Administration Guide

Home 

Function: @[DATETIME]

In the Management Portal at Entitlement Catalog, when you configure a workflow action for a service, you can optionally replace the values in various fields with functions. With the function @[DATETIME(<format>)] you can resolve the current date and time at any point in the workflow. For example, you can use this information to specify the date a person was registered in the system: if you configure a table people attribute that stores this date, you can add a record to it with a Perform Table Operation action and specify this registration date.

The function @[DATETIME(<format>)] resolves into the current date and/or time on the Transaction Engine in the specified format. You can use Y, M, D, H, N and S for year, month, day, hour, minutes and seconds.

Example

If the date and time on the Transaction Engine is January 2, 2017 at 18:26:23

  • @[DATETIME(YYYYMMDDHHNNSS)] returns "20170102182623"
  • @[DATETIME(YYYY-MM-DD HH:NN)] returns "2017-01-02 18:26"
  • @[DATETIME(HH:NN)] returns "18:26"
  • @[DATETIME(SS)] returns "23"

Was this article useful?