Hello Experts,
I am working on a Lifecycle State transform and I am using the same set of time periods (Ex: Start Date - 20 Days, End Date +10 Days) at multiple locations to calculate the LCS of the identity.
When there is any update in the requirement regarding the time periods like the prejoin state should be given from Start Date - 5 days instead of Start Date - 10 days, I have to make changes at multiple places. To reduce the effort, I wanted to use a lookup transform where I will store all the required values and every time I need to use the values, I will reference this lookup transform and get the desired value. If there is an update in the requirement again, then I just need to make the changes at a single location, this will help in minimizing the effort and also makes it easier to understand. I need some help to structure this perfectly.
My current thought process is to Create a seperate lookup transform and reference that lookup transform where ever I need the Time Period values.
Example:
{
"type":"dateMath",
"attributes":{
"expression":{
"type":"reference",
"attributes":{
"id":"Lookup_Transform"
}
},
"input":{
"type":"accountAttribute",
"attributes":{
"attributeName":"EndDate",
"sourceName":"Auth_Source"
}
}
}
}
But I am not sure how to pass the input to the Lookup Transform to get back the desired value. Kindly let me know if you have worked on this.
Please share you thoughts if you think this can be acheived with a better approach.
Appreciate your help… Thankyou.