Transform randomAlphaNumeric

Hi,

We developed an attribute that would calculate an alphanumeric string without re-evaluating itself after processing.

But we noticed that it’s being reevaluated every day despite having requiresPeriodicRefresh: false.

What can we do to prevent it from being recalculated?

Thanks

Hi @carmine_guarracino

Please read this and you will get some idea to tackle your usecase.

1 Like
{
    "id": "54f6ec5c-4cbf-48e0-92dc-cbab712579ac",
    "name": "RandomAlphaNumeric",
    "type": "static",
    "attributes": {
        "value": "#if($currentValue != 'none')$currentValue#{else}$newRandomAlphaNumericValue#end",
        "currentValue": {
            "type": "firstValid",
            "attributes": {
                "values": [
                    {
                        "type": "identityAttribute",
                        "attributes": {
                            "name": "attributeHoldingTheValue"
                        }
                    },
                    "none"
                ],
                "ignoreErrors": false
            }
        },
        "newRandomAlphaNumericValue": {
            "type": "randomAlphaNumeric",
            "attributes": {
                "length": 19
            }
        }
    },
    "internal": false
}
1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.