ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Query about Business Measures

Post new topic  Reply to topic Goto page 1, 2  Next
 Query about Business Measures « View previous topic :: View next topic » 
Author Message
k4mik4z3
PostPosted: Wed Sep 06, 2006 5:27 am    Post subject: Query about Business Measures Reply with quote

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
View user's profile Send private message Yahoo Messenger
k4mik4z3
PostPosted: Thu Sep 07, 2006 3:58 am    Post subject: Reply with quote

Novice

Joined: 03 Aug 2006
Posts: 24
Location: India

Could somebody please shed some light on this ?
Back to top
View user's profile Send private message Yahoo Messenger
tsrisudh
PostPosted: Thu Sep 07, 2006 11:28 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
k4mik4z3
PostPosted: Fri Sep 08, 2006 5:05 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
k4mik4z3
PostPosted: Wed Oct 04, 2006 9:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
tsrisudh
PostPosted: Thu Oct 05, 2006 1:01 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
k4mik4z3
PostPosted: Fri Oct 06, 2006 5:42 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
k4mik4z3
PostPosted: Thu Nov 16, 2006 4:23 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
tsrisudh
PostPosted: Mon Nov 20, 2006 3:52 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
k4mik4z3
PostPosted: Mon Nov 20, 2006 8:57 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
k4mik4z3
PostPosted: Thu Feb 01, 2007 4:08 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
k4mik4z3
PostPosted: Thu Feb 01, 2007 7:59 pm    Post subject: Reply with quote

Novice

Joined: 03 Aug 2006
Posts: 24
Location: India

any ideas guys ??
Back to top
View user's profile Send private message Yahoo Messenger
tsrisudh
PostPosted: Mon Feb 05, 2007 4:10 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
tsrisudh
PostPosted: Mon Feb 05, 2007 5:18 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
k4mik4z3
PostPosted: Tue Feb 06, 2007 5:01 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Query about Business Measures
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.