I’m attempting to have portions of the LCS Change template change depending on what the Life Cycle is.
I would expect the following code to work, but it doesn’t function properly.
#if($identity.cloudLifecycleState == “prehire” || $identity.cloudLifecycleState == “active”)
Start Date: $identity.startDate
#{else}
Term Date: $identity.endDate
#end
or
#if($identity.cloudLifecycleState == “prehire”)
Start Date: $identity.startDate
#elseif($identity.cloudLifecycleState == “active”)
Start Date: $identity.startDate
#{else}
Term Date: $identity.endDate
#end
Neither work. What am I missing?