I have a specific requirement I’ve started to work on but I wonder if this is possible with transforms or if I just should use a rule.
It about startDate and endDate on the identityProfile attibutes. Those are coming from an API. A technical API moreover so I have the tricky part that the attribut can be mutivalued if the identity has had multiple contracts in the society. I would then have several attributes named like " contract_endate" having a value. So right now, i’m stocking them in a multivalued account attribute.
Bear in mind i’m using the webservice SaaS and it’d be bad having to switch to webservice to use afterRule to get only the latest date, which was my first idea.
So, using a transform I’d need to to this :
get the latest contract date in the account attribute (may contains more than one)
if the attribute is empty, get the latest date in an another attribute (same)
else get the lastest date in a third attribute.
Is this possible somehow using transforms, or should I directly go to cloud rule ?