ProPath, Live vs. Test, and BPMs

Thanks to everyone for the detailed pointers. :-)

--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix / Picometrix
    bspolarich@... ~ 734-864-5618 ~ www.advancedphotonix.com


-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Steven Gotschall
Sent: Tuesday, April 28, 2009 9:54 AM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] ProPath, Live vs. Test, and BPMs

The default Vantage install is such that any BPM method directives apply to ALL Vantage DBs on the server.

This means that if you develop a BPM in the TEST database, once enabled it will apply and run in the LIVE and TRAIN databases as well. It will therefore cause problems if you want to test BPMs while developing them, or if you are running several databases, each with different BPM requirements.

To enable BPM to apply to one particular DB, you need to set up the Appservers to have unique BPM folders in their PROPATH.

The steps below explain how to change the Train DB to use a different BPM folder.
1. In Progress Explorer, right click on the MFGTRAIN803 Appserver.
2. Select Properties
3. Click on Agent ' General
4. The PROPATH should be similar to the following: "E:\epicor\mfgsys803\custom,E:\epicor\mfgsys803\bpm,:\epicor\mfgsys803\Server\custom,E:\epicor\mfgsys803\Server,E:\epicor\mfgsys803"
5. Change the BPM element of this to a unique path i.e. "E:\epicor\mfgsys803\custom,E:\epicor\mfgsys803\TRAIN\bpm,:\epicor\mfgsys803\Server\custom,E:\epicor\mfgsys803\Server,E:\epicor\mfgsys803"
N.B. It is IMPERATIVE that the path ends in "BPM"
6. Repeat Steps 2 - 5 for the MFGTRAIN803ProcessServer and MFGTRAIN803TaskAgent
7. From Windows Explorer, create the directory specified in this instance "E:\epicor\mfgsys803\TRAIN\bpm"
8. Restart the Appservers. Users will need to be logged off for this.
9. Resave any BPMs created in the Train DB.

Background
When building a BPM method directive, data is stored in the Vantage DB. When a BPM directive is enabled and saved, the data is processed and a Progress program is generated to disk. The program is generated into the directory specified in the Appserver's PROPATH (folder ending in BPM). When Business Object methods are called via Web Services or a Vantage client, any BPM directives which exist for this method are located first in the propath and are therefore executed prior to base Business Object methods.




________________________________
From: Brian W. Spolarich <bspolarich@...>
To: vantage@yahoogroups.com
Sent: Tuesday, April 28, 2009 9:38:40 AM
Subject: [Vantage] ProPath, Live vs. Test, and BPMs





How does one configure OpenEdge to keep separate BPMs that one creates
in one database (e.g. Test) from impacting the live production
environment?

Rich Riley mentioned this in a talk he gave at Perspectives:

http://www.epicor com/Customers/ Perspectives/ Perspectives% 202008%20Prese
ntations/Vantage_ Vista/8%2003% 20400%20Technolo gy%20Tips% 20and%20Tricks% 2
0-%20Configuration. ppt

But gave no specifics..

-bws

--

Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix

bspolarich@advanced photonix. com
<mailto:bspolarich@advanced photonix. com> ~ 734-864-5618 ~
www.advancedphotoni x.com <http://www.advanced photonix. com>

[Non-text portions of this message have been removed]







[Non-text portions of this message have been removed]



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
How does one configure OpenEdge to keep separate BPMs that one creates
in one database (e.g. Test) from impacting the live production
environment?



Rich Riley mentioned this in a talk he gave at Perspectives:




http://www.epicor.com/Customers/Perspectives/Perspectives%202008%20Prese
ntations/Vantage_Vista/8%2003%20400%20Technology%20Tips%20and%20Tricks%2
0-%20Configuration.ppt



But gave no specifics.



-bws



--

Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix

bspolarich@...
<mailto:bspolarich@...> ~ 734-864-5618 ~
www.advancedphotonix.com <http://www.advancedphotonix.com>





[Non-text portions of this message have been removed]
The default Vantage install is such that any BPM method directives apply to ALL Vantage DBs on the server.

This means that if you develop a BPM in the TEST database, once enabled it will apply and run in the LIVE and TRAIN databases as well. It will therefore cause problems if you want to test BPMs while developing them, or if you are running several databases, each with different BPM requirements.

To enable BPM to apply to one particular DB, you need to set up the Appservers to have unique BPM folders in their PROPATH.

The steps below explain how to change the Train DB to use a different BPM folder.
1. In Progress Explorer, right click on the MFGTRAIN803 Appserver.
2. Select Properties
3. Click on Agent ' General
4. The PROPATH should be similar to the following: "E:\epicor\mfgsys803\custom,E:\epicor\mfgsys803\bpm,:\epicor\mfgsys803\Server\custom,E:\epicor\mfgsys803\Server,E:\epicor\mfgsys803"
5. Change the BPM element of this to a unique path i.e. "E:\epicor\mfgsys803\custom,E:\epicor\mfgsys803\TRAIN\bpm,:\epicor\mfgsys803\Server\custom,E:\epicor\mfgsys803\Server,E:\epicor\mfgsys803"
N.B. It is IMPERATIVE that the path ends in "BPM"
6. Repeat Steps 2 - 5 for the MFGTRAIN803ProcessServer and MFGTRAIN803TaskAgent
7. From Windows Explorer, create the directory specified in this instance "E:\epicor\mfgsys803\TRAIN\bpm"
8. Restart the Appservers. Users will need to be logged off for this.
9. Resave any BPMs created in the Train DB.

Background
When building a BPM method directive, data is stored in the Vantage DB. When a BPM directive is enabled and saved, the data is processed and a Progress program is generated to disk. The program is generated into the directory specified in the Appserver's PROPATH (folder ending in BPM). When Business Object methods are called via Web Services or a Vantage client, any BPM directives which exist for this method are located first in the propath and are therefore executed prior to base Business Object methods.




________________________________
From: Brian W. Spolarich <bspolarich@...>
To: vantage@yahoogroups.com
Sent: Tuesday, April 28, 2009 9:38:40 AM
Subject: [Vantage] ProPath, Live vs. Test, and BPMs





How does one configure OpenEdge to keep separate BPMs that one creates
in one database (e.g. Test) from impacting the live production
environment?

Rich Riley mentioned this in a talk he gave at Perspectives:

http://www.epicor com/Customers/ Perspectives/ Perspectives% 202008%20Prese
ntations/Vantage_ Vista/8%2003% 20400%20Technolo gy%20Tips% 20and%20Tricks% 2
0-%20Configuration. ppt

But gave no specifics..

-bws

--

Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix

bspolarich@advanced photonix. com
<mailto:bspolarich@advanced photonix. com> ~ 734-864-5618 ~
www.advancedphotoni x.com <http://www.advanced photonix. com>

[Non-text portions of this message have been removed]







[Non-text portions of this message have been removed]
For anyone developing configurators, this lesson also applied the
"pcrules" directory.



________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Steven Gotschall
Sent: Tuesday, April 28, 2009 10:54 AM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] ProPath, Live vs. Test, and BPMs








The default Vantage install is such that any BPM method directives apply
to ALL Vantage DBs on the server.

This means that if you develop a BPM in the TEST database, once enabled
it will apply and run in the LIVE and TRAIN databases as well. It will
therefore cause problems if you want to test BPMs while developing them,
or if you are running several databases, each with different BPM
requirements.

To enable BPM to apply to one particular DB, you need to set up the
Appservers to have unique BPM folders in their PROPATH.

The steps below explain how to change the Train DB to use a different
BPM folder.
1. In Progress Explorer, right click on the MFGTRAIN803 Appserver.
2. Select Properties
3. Click on Agent ' General
4. The PROPATH should be similar to the following:
"E:\epicor\mfgsys803\custom,E:\epicor\mfgsys803\bpm,:\epicor\mfgsys803\S
erver\custom,E:\epicor\mfgsys803\Server,E:\epicor\mfgsys803"
5. Change the BPM element of this to a unique path i.e.
"E:\epicor\mfgsys803\custom,E:\epicor\mfgsys803\TRAIN\bpm,:\epicor\mfgsy
s803\Server\custom,E:\epicor\mfgsys803\Server,E:\epicor\mfgsys803"
N.B. It is IMPERATIVE that the path ends in "BPM"
6. Repeat Steps 2 - 5 for the MFGTRAIN803ProcessServer and
MFGTRAIN803TaskAgent
7. From Windows Explorer, create the directory specified in this
instance "E:\epicor\mfgsys803\TRAIN\bpm"
8. Restart the Appservers. Users will need to be logged off for this.
9. Resave any BPMs created in the Train DB.

Background
When building a BPM method directive, data is stored in the Vantage DB.
When a BPM directive is enabled and saved, the data is processed and a
Progress program is generated to disk. The program is generated into the
directory specified in the Appserver's PROPATH (folder ending in BPM).
When Business Object methods are called via Web Services or a Vantage
client, any BPM directives which exist for this method are located first
in the propath and are therefore executed prior to base Business Object
methods.

________________________________
From: Brian W. Spolarich <bspolarich@...
<mailto:bspolarich%40advancedphotonix.com> >
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Sent: Tuesday, April 28, 2009 9:38:40 AM
Subject: [Vantage] ProPath, Live vs. Test, and BPMs

How does one configure OpenEdge to keep separate BPMs that one creates
in one database (e.g. Test) from impacting the live production
environment?

Rich Riley mentioned this in a talk he gave at Perspectives:

http://www.epicor com/Customers/ Perspectives/ Perspectives%
202008%20Prese
ntations/Vantage_ Vista/8%2003% 20400%20Technolo gy%20Tips%
20and%20Tricks% 2
0-%20Configuration. ppt

But gave no specifics..

-bws

--

Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix

bspolarich@advanced photonix. com
<mailto:bspolarich@advanced photonix. com> ~ 734-864-5618 ~
www.advancedphotoni x.com <http://www.advanced photonix. com>

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
PROBLEM DESCRIPTION:

BPM directives in test database are also being triggered in live
environment.



RESOLUTION:

BPM is looking for the \Epicor\mfgsys803\BPM folder by default. The
Appservers' (mfgsys803, mfgtrain803,



mfgtest803, mfgpilot803) PROPATH are all looking to this folder for
writing AND reading of the directives.



This causes a problem since the Test database will write BPM's to the
same folder that the Live database



reads BPM's from.



In order to change this You will want to create sub folders under
\epicor\mfgsys803 to use for non-live



BPM's. For instance: \Epicor\mfgsys803\TestBPM\BPM or
\Epicor\mfgsys803\TrainBPM\BPM etc...



! Note: It is important that the sub folder you create also has a folder
within named 'BPM' specifically.



We will then need to edit the PROPATH of each Appserver that you will
look to separate out.



1) Open the Progress Explorer Tool

2) Navigate to Appserver and then Mfgtest803 and right click and click
properties

3) In the left Tree view, click on Agent

4) Inside the PROPATH textbox you will find something similar to:
C:\Epicor\mfgsys803\bpm

5) Change this entry to C:\Epicor\mfgsys803\TestBPM\BPM



Everything else in the PROPATH can stay the same.



The Appservers will need to be restarted for this to take affect.



From this point onward all BPM's created/saved while connected to the
Test slot will be put in this folder



and they won't be seen by the other databases





Rob Bucek

Manufacturing Engineer

PH: 715-284-5376 ext 311

FAX: 715-284-4084

<http://www.dsmfg.com/>

(Click the logo to view our site)



________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Brian W. Spolarich
Sent: Tuesday, April 28, 2009 8:39 AM
To: vantage@yahoogroups.com
Subject: [Vantage] ProPath, Live vs. Test, and BPMs





How does one configure OpenEdge to keep separate BPMs that one creates
in one database (e.g. Test) from impacting the live production
environment?

Rich Riley mentioned this in a talk he gave at Perspectives:

http://www.epicor.com/Customers/Perspectives/Perspectives%202008%20Prese
<http://www.epicor.com/Customers/Perspectives/Perspectives%202008%20Pres
e>
ntations/Vantage_Vista/8%2003%20400%20Technology%20Tips%20and%20Tricks%2
0-%20Configuration.ppt

But gave no specifics.

-bws

--

Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix

bspolarich@...
<mailto:bspolarich%40advancedphotonix.com>
<mailto:bspolarich@...
<mailto:bspolarich%40advancedphotonix.com> > ~ 734-864-5618 ~
www.advancedphotonix.com <http://www.advancedphotonix.com
<http://www.advancedphotonix.com> >

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
Epicor 9 has a folder called BPMExec and under that folder you'll see
LiveBPM, PilotBPM, TestBPM, and TrainingBPM. I believe support told me at
one time that the folder name must end in BPM.

> For anyone developing configurators, this lesson also applied the
> "pcrules" directory.

Can you also set the pcrules folder in the Company Config?

Mark W.