Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to use Resource Bundles / Property Files in Process?

Avatar

Level 2

How to use Resource Bundles / Property Files in Process?

We would like to have common properties and configurations in a file

5 Replies

Avatar

Level 10

Why don't you prefer creating Configuration variables? Which in fact can be used to hold general settings of the process (can be set though AdminUI).

Or

what kind of common properties would you like to keep it in Resource Bundle?

Nith

Avatar

Level 10

You just write them in a file and use the FileUtils service to read the file from the file system.

Or, as Nith mentioned use configuration variables.

Jasmin

Avatar

Level 10

I know that the Resource bundles are useful in Flex forms design.

But, I am really interested to know what's the usage of resource bundles in LCES workflow or PDF forms .

Using resource bundles in PDF forms is not as easy as Flex. We might have to write script to achieve that.

The Workflows are not User-Interface, So there is no need for resource bundles here.

In fact, my suggestion also may be wrong. Because, the Configuration files is a set a key value entries which used to relace certain values in User-Interface. While the Resource Bundles are meant to hold multi-lingual texts to localize the User-Interface.

Though, we could keep these entries in a file and using the FileUtils, it is not easy to just read the values based on keys. We must have to write a Custom Component (Or Script Activity) to read those values. Alternatively, we could store those values in a process variable (MAP of Strings) which still requires some basic coding (by coding Script activity).

So, do you have some special requirements Saravanan?

Nith

Avatar

Level 2

Hi Nith,

Just I have tried to externalize mail content using Resource Bundle.

And also looking for , having all the configurations parameter at one point.

thanks for your suggestion