dateCompare exact match to todays date

got it working

{
    "attributes": {
        "firstDate": {
            "attributes": {
                "values": [
                    {
                        "attributes": {
                            "input": {
                                "attributes": {
                                    "sourceName": "Delimited File",
                                    "attributeName": "LATEST_HIREDT"
                                },
                                "type": "accountAttribute"
                            },
                            "inputFormat": "ddMMyyyy",
                            "outputFormat": "PEOPLE_SOFT"
                        },
                        "type": "dateFormat"
                    },
                    {
                        "attributes": {
                            "input": "31121999",
                            "inputFormat": "ddMMyyyy",
                            "outputFormat": "PEOPLE_SOFT"
                        },
                        "type": "dateFormat"
                    }
                ]
            },
            "type": "firstValid"
        },
        "secondDate": {
            "attributes": {
                "input": {
                    "attributes": {
                        "expression": "now",
                        "roundUp": true
                    },
                    "type": "dateMath"
                },
                "inputFormat": "ddMMyyyy",
                "outputFormat": "PEOPLE_SOFT"
            },
            "type": "dateFormat"
        },
        "expression": "$firstDate eq $secondDate",
        "positiveCondition": "Active",
        "negativeCondition": "Inactive"
    },
    "type": "conditional",
    "id": "PRE_HIRED DATE COMPARISON11"
}
2 Likes