Author |
Message
|
k4mik4z3 |
Posted: Wed Sep 06, 2006 5:27 am Post subject: Query about Business Measures |
|
|
Novice
Joined: 03 Aug 2006 Posts: 24 Location: India
|
Hi,
I have a very basic query about Business measures but didnt find any existing thread to post it in..
ok now to get to the question, i want to know if setting Business measures are of any use if i'm creating a custom monitor (not WBI Monitor) ? ie. using Java api's.
I dont see any business measure or stuff getting exported in the FDL file, or in the BPM xml file when exporting it (i created a BM with name 'MyBM' and searched for it in the xml file but cudnt find it), so how or where are they exported or something ?
I'm a noob to this so please go easy on me  |
|
Back to top |
|
 |
k4mik4z3 |
Posted: Thu Sep 07, 2006 3:58 am Post subject: |
|
|
Novice
Joined: 03 Aug 2006 Posts: 24 Location: India
|
Could somebody please shed some light on this ? |
|
Back to top |
|
 |
tsrisudh |
Posted: Thu Sep 07, 2006 11:28 pm Post subject: |
|
|
 Centurion
Joined: 11 Aug 2005 Posts: 113
|
If you are not using WBI monitor, then there is no use of the BMs, none of the BMs will get exported to the FDL, only if you export to Monitor will those get exported, so if you are not using WBI monitor, then you need not create any business measures _________________ Srisudhir Tadepalli |
|
Back to top |
|
 |
k4mik4z3 |
Posted: Fri Sep 08, 2006 5:05 am Post subject: |
|
|
Novice
Joined: 03 Aug 2006 Posts: 24 Location: India
|
ok cool. Thanks for replying.
So if i'm using a custom monitor, I should query the workflow database for Real-time monitoring and the Audit Trail DB for historical data. Am i right ?
How are the business measures brought out in the BPM XML file, i can't make head or tail out of it and i'm not able to find any documentation for this either.  |
|
Back to top |
|
 |
k4mik4z3 |
Posted: Wed Oct 04, 2006 9:49 pm Post subject: |
|
|
Novice
Joined: 03 Aug 2006 Posts: 24 Location: India
|
I have another query, if i'm using a custom client and querying the WBI Monitor database, would i need to set business measures ? Or are business measures only useful for the WBI monitor client ?
The reason i'm asking this is that i read that the Event processor service processes the Business measures and imports data into the Monitor database, so in this case even if i'm not using WBI monitor client (dashboards), i would need to set Business measures as long as i'm using the Monitor databases for querying, right ?
Could somebody pleeeeease reply to this ? i need to know this urgently |
|
Back to top |
|
 |
tsrisudh |
Posted: Thu Oct 05, 2006 1:01 am Post subject: |
|
|
 Centurion
Joined: 11 Aug 2005 Posts: 113
|
If you plan to read from the monitor database then you will have to set up the business measures, because only if you set the BMs do records get inserted into the monitor database.
But on another point why would you not use Monitor itslef, ehrn you are actually reading from the monitor DB. Also it becomes that much more difficult to undertand the schema of the monitor DB etc.. _________________ Srisudhir Tadepalli |
|
Back to top |
|
 |
k4mik4z3 |
Posted: Fri Oct 06, 2006 5:42 am Post subject: |
|
|
Novice
Joined: 03 Aug 2006 Posts: 24 Location: India
|
Thats the requirement for the project i am working on, Some drawbacks or limitations of using the default WBI Monitor were found so they decided to use the WBI Monitor DB but a custom client using Monitor API's to query it..
Thanks for the reply btw :)
Is there any guide or tutorial or smething on working with the Monitor API's ? I cant find any using google :/ |
|
Back to top |
|
 |
k4mik4z3 |
Posted: Thu Nov 16, 2006 4:23 am Post subject: |
|
|
Novice
Joined: 03 Aug 2006 Posts: 24 Location: India
|
ok after much trial and error, i found out how to use Business measures, well probably not completely because i'm having trouble with one... Here's the scenario -
I have a process flow (say Flow1) and a block in it which contains another sub-flow (say Flow2). Now some data which i get in Flow1 is sent to Flow2.
Inside Flow2, i have a NOOP as the first activity, now this NOOP has the same data structure (say BlockStruct)as the block. I want to log a field (say X) between the start of the block and this NOOP.
So, to log X, i set the Data metric to log the field X from BlockStruct when it appears in the output container. And location i set it to Before Start of NOOP activity.
Now this does not work, and i dont know why, can somebody help before i lose all my hair over this ??
I even tried changing the Data metric to log the field when it appears in input container and even changed the Location to PROCESS_START but still nothing.... |
|
Back to top |
|
 |
tsrisudh |
Posted: Mon Nov 20, 2006 3:52 am Post subject: |
|
|
 Centurion
Joined: 11 Aug 2005 Posts: 113
|
Business Measures can be tagged in WBI Modeller only at 1 level and cannot go into a block, if you want to track those than you will have to define a BM inside of that block/process and then try. _________________ Srisudhir Tadepalli |
|
Back to top |
|
 |
k4mik4z3 |
Posted: Mon Nov 20, 2006 8:57 pm Post subject: |
|
|
Novice
Joined: 03 Aug 2006 Posts: 24 Location: India
|
tsrisudh wrote: |
Business Measures can be tagged in WBI Modeller only at 1 level and cannot go into a block, if you want to track those than you will have to define a BM inside of that block/process and then try. |
Thanks, but thats what I had done, was actually having problem inside the block. I found out that I had set the Business measures wrongly so it wasnt getting logged, changed the location and it worked fine  |
|
Back to top |
|
 |
k4mik4z3 |
Posted: Thu Feb 01, 2007 4:08 am Post subject: |
|
|
Novice
Joined: 03 Aug 2006 Posts: 24 Location: India
|
help guys ! I'm having trouble again.
I dont know why but if i set the location as PROCESS_START for a business measure, it doesnt work as expected
I have a block inside which I have set this Business measure to log a field from the block's input container, Location set to PROCESS_START. But this doesnt log the field.... HELP !
Another small doubt,
What does the input/output option for a data metric signify ?? No matter which of these options I select, the field always gets logged... Then what is the use of this option ? |
|
Back to top |
|
 |
k4mik4z3 |
Posted: Thu Feb 01, 2007 7:59 pm Post subject: |
|
|
Novice
Joined: 03 Aug 2006 Posts: 24 Location: India
|
|
Back to top |
|
 |
tsrisudh |
Posted: Mon Feb 05, 2007 4:10 am Post subject: |
|
|
 Centurion
Joined: 11 Aug 2005 Posts: 113
|
Business measures defined inside blocks will not get recorded at the higher level, you can only define at the start and end of the block, but there is no way you can do that inside of a block. _________________ Srisudhir Tadepalli |
|
Back to top |
|
 |
tsrisudh |
Posted: Mon Feb 05, 2007 5:18 pm Post subject: |
|
|
 Centurion
Joined: 11 Aug 2005 Posts: 113
|
Yes you got it right, you cannot set PROCESS_START for activities which are inside the block _________________ Srisudhir Tadepalli |
|
Back to top |
|
 |
k4mik4z3 |
Posted: Tue Feb 06, 2007 5:01 am Post subject: |
|
|
Novice
Joined: 03 Aug 2006 Posts: 24 Location: India
|
erm... that went right over my head
Do you mean to say that PROCESS_START location can only be used for the root flow ? ie. if i have a process 'Sample' and a block within it say 'SampleBlock', I can only set this location PROCESS_START for the flow Sample and not inside the block 'SampleBlock' ? |
|
Back to top |
|
 |
|