-
Notifications
You must be signed in to change notification settings - Fork 3
ConditionBetween
Søren Granfeldt edited this page Dec 1, 2016
·
3 revisions
This condition can be used to check whether a date/time in a metaverse attribute is between two date/time value. Local date settings from the FIM Sync is used to parse and compare dates. Also, time of day is used in the comparison. The name of the metaverse attributes to get the date from are specified in the MVAttributeStartDate and the MVAttributeEndDate tag (see below).
It is up to you to make sure that the dates used in the two metaverse attributes 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="ConditionBetween">
<Description>Current date/time (now) must be between startdate and enddate</Description>
<MVAttributeStartDate>employeeStartDate</MVAttributeStartDate>
<MVAttributeEndDate>employeeEndDate</MVAttributeEndDate>
</ConditionBase>