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

Condition xsi:type=ConditionBefore

This condition can be used to check whether a date/time in a metaverse attribute is after 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="ConditionBefore"> 
  <Description>only when employee start date is before today</Description> 
  <MVAttribute>employeeStartDate</MVAttribute> 
</ConditionBase>

Requires version 1.1 or later