Skip to content
Søren Granfeldt edited this page Dec 29, 2019 · 2 revisions

Condition xsi:type=ConditionAfter

This condition can be used to check whether a date/time in a metaverse attribute is before the current date/time. Local date settings from the FIM Sync is used to parse and compare dates. Also, time of day is used in the comparision. The name of the metaverse attribute to get the date from is specified in the MVAttribute tag (see below).

It is up to you to make sure that the date used in the metaverse attribute can be parsed to a valid date. Recommended format is a sort-able format, i.e. 2016-02-16 17:00:00.

<ConditionBase xsi:type="ConditionAfter"> 
  <Description>only when employee has started date is after today</Description> 
  <MVAttribute>employeeStartDate</MVAttribute> 
</ConditionBase>

Requires version 1.1 or later