on 03-18-2016 1:00 PM
Hi experts,
I have a requirement to store a global date variable that would be used across multiple mappings within the same software component. I need to access this date variable every time the integration is ran to determine if a record needs to be updated based on date parameters and then finally update the variable with the latest date to be used when the integration is ran again.
I've looked in SCN for possible solutions and have not found any that work. I investigated the Global Container but I was not able to get this working.
Can anyone provide me with a UDF code example that I could use?
Much appreciated,
Dave
Hi Dave,
In a clustered environment, and considering possible system restarts that will cause loss of variables' values stored in server nodes memory, I don't think that will be feasible without persistence of your required date variable content in a persistence layer. We had recent discussion about similar requirement (just in that case, the requirement was to iterate sequence number consistently) - you may want to have a look at .
Regards,
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dave, calls to external systems will impact overall execution time of such mapping, so from performance perspective, it will be faster if this kind of data is stored locally in PI. If performance is not such critical, then an alternative with using lookup to an external system can be considered.
Regards,
Vadim
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.