+1 vote
6.8k views
in BPD by

8 Answers

+2 votes
by (16.3k points)
 
Best answer
EPV vs ENV/SERVER configuration

EPV - Exposed Process Value

ENV - Environment Variable

1. EPV can hold a variable of any type ENV is always a string

2. EPV is generally business data which needs to be injected altered runtime into a Process or service, ENV is as the name suggests

   environment configuration variables/parameters e.g. WSDL URL, jndi Name, email distribution lists etc.

3. Both can be changed at runtime from Process Admin Console, though env variables are designed to be set with the code.

4. To change and EPV you need to schedule a time when the change gets effected.

5. EPV is not specific to the environment but ENV has multiple possible valies e.g. default, development, test, staging, production which gets

   applied to the environemtn type.

6. SERVER configurations are an extension to ENVs specialized to be server confirations for SOAP endpoints, REST endpoints and ECM endpoints

7. usage/access

EPV value

tw.local.myvar=String(tw.epv.maintenance.email);

get EPV at specified time

tw.local.myvar=String(tw.epv.maintenance.email.valueAt(newTWDate("2015-10-19 11:30:00.0")));

8. Update from javascript API

EPV

tw.epv.maintenance.email.update("abcd@abcd.com",new TWDate("2015-10-19 11:01:00.0"));

ENV

tw.env.update(tw.system.model.env.benefitservice, "https://someurl.com/svc?wsdl");

9. How to make available realtime in Coach View

You can do an ajax call/service call to a service which can retrieve the current value and return it.
+1 vote
by (360 points)
EPV variables are used where you need to change those on the fly and your process application will use the upadted values.

ENV variables are used to store your env related information like DEV-QA-UAT etc. It will be applicable to those environments only.
+2 votes
by (220 points)
The env variables are used and defined based on the environment dev, test and production etc . These values does not change frequently and can be changed from ProcessAdmin -->Installed app --> Environment Variable tabs. Once changes , it will be changed immediately. The ENV values can be changed by Admin Group only.

The EPV can be searched and changed using ProcessAdmin -->Server Admin --> Admin Tools --> EPV.  EPV Value changes can be scheduled using the tool. and It will be effective on the specified time . EPV are exposed to certain group and group member also can change the EPV value .
+1 vote
by (1.2k points)
EPV variables are business variable which we can change via process Admin. Example Interest rate.

ENV are non business variable also we can change via process admin.Example Datasource.
0 votes
by (720 points)

EPVs are used to bind centrally defined variables of different types to BPDs and services, they can be changed at run time and are meant to provide simple means of interjecting into a running process service before its next lookup of the EPV variable. A good example will be to enable/disable a maintenance application not available state.

Environment variable on the other hand (can also be changed at run time though) are more geared towards storing a set of parameters e.g. web service hostname per environmement (DEV, SIT, QA, PROD), you can store things like jndi names, java application integration urls, environment identifers themselves, email sender addresses, admin groups etc.

0 votes
by (720 points)

The answer an interview is expecting would be this

-- EPV is Business related constants which may change in future. For e.g. Interest Rates, Service Charges, etc.

-- Environment variable is Non-Business related constant which may change in future. For e.g. DataSource (Dev/QA/Prod)

0 votes
by (820 points)
More insight on this ENV variable is performance wise expensive as compared to EPV.
+1 vote
by (16.3k points)

Related questions

+1 vote
2 answers 1.9k views
asked Dec 1, 2018 in BPD by anonymous
0 votes
2 answers 1.6k views
asked Aug 31, 2018 in BPD by anonymous
0 votes
2 answers 2.2k views
–1 vote
0 answers 908 views
0 votes
2 answers 2.3k views
asked May 28, 2018 in BPD by anonymous
0 votes
1 answer 1.7k views
+1 vote
0 answers 1.9k views
0 votes
2 answers 2.3k views
–1 vote
1 answer 797 views
0 votes
1 answer 2.1k views
0 votes
0 answers 452 views
0 votes
1 answer 2.8k views

635 questions

495 answers

98 comments

2.9k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...