SandraA0 Member since 2017 7 posts
Posted: 2 years ago
Last activity: 2 years 4 months ago

Dynamic System Setting

Hi everybody:-),
I have another question about Dynamic System Setting:
Someone tell me it is possible to write something like ${pega.tmpdir} in DSS record, but I failed to do it, it seems to me it doesn't work.
Whatever I write in value field, when I get it with getDataSystemSetting function, I get exactly what I write: if I write for instance ${java.home} or ${pega.tmpdir} in value field, getDataSystemSetting function returns ${java.home} or ${pega.tmpdir}, not their values. So it means the code is not interpreted.
I succeeded to get these values with getJavaSystemProperty function and to set DSS value with setDynamic function in activity, but not to write code directly in DSS record like ${pega.tmpdir} or function call.
I think DSS value can only be hardcoded or set and updated with functions in activity, and can not contain code itself. But someone tell me it is possible, so I think maybe I've not tried enough, and I've searched for example in Pega.
I've found a Pega DSS (initialization/explicittemdir) with value ${pega.tmpdir}, but I didn't find any use of it. Instead I've found an activity (SavefileContent) using System.getProperty("pega.tmpdir") function to get value from jmv, and not using getDataSystemSetting function to get value from DSS itself.
Could you please confirm me if it is possible or not to use this syntax ${xxx} in value field of DSS record, and if it is, how to get it?
Thanks again for your answers...!

Low-Code App Development Data Integration User Interface
Moderation Team has archived post
Share this page LinkedIn