Topic
  • 7 replies
  • Latest Post - ‏2014-06-18T10:14:58Z by AhsanYawar
Ivan261
Ivan261
3 Posts

Pinned topic Business monitor and access to array of objects in event.

‏2007-10-23T06:49:37Z |
Hello.
In our project business object consist of property type of key-value.
code<xs:sequence>
<xs:element name="Person" type="Person_Type" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>[/code]
In event this type transformed to
code<extendedDataElement maxOccurs="unbounded" minOccurs="0" name="Person" type="noValue">
<extendedDataElement maxOccurs="1" minOccurs="0" name="key" type="String">
<extendedDataElement maxOccurs="1" minOccurs="0" name="value" type="String">
</extendedDataElement>[/code]
How I can get access to person/value in business monitor Metric Value Maps?
codeHumanTaskAppLoad_EXIT/extendedData/message/output/Person/value[/code] leads to the error "CWMMV0110E: Single value expression: X20 Predicate must be of type integer, not 'boolean'. (Only numeric predicates are supported.)"
codeHumanTaskAppLoad_EXIT/extendedData/message/output/Person[1]/value[/code] leads to the error "CWMMV0110E: Single value expression: R01 Accessing array elements is not supported."
  • Ivan261
    Ivan261
    3 Posts

    Re: Business monitor and access to array of objects in event.

    ‏2007-10-23T07:23:08Z  
    Business monitor version is 6.0.2
  • sriramantr
    sriramantr
    6 Posts

    Re: Business monitor and access to array of objects in event.

    ‏2007-10-23T11:03:13Z  
    Hey,

    Even i had faced this problem. I had to change my design in the end. Any information on accessing array elements in a metric value editor would be useful.

    Let me try and get back to you.
  • anpati1
    anpati1
    10 Posts

    Re: Business monitor and access to array of objects in event.

    ‏2007-10-24T14:54:29Z  
    Hi,

    I'm trying to access variable data from an BPEL variable based event using the path 'variable'_CHANGED/extendedData/variableData. I cannot access any value within the event 'variable'_CHANGED event, neither Predefined data nor Property data nor Extendend data. Has anyone tried accessing values generated by 'variable'_CHANGED event??The event is created against a BPEL variable. I cannot use the 'context'_EXIT event as documented in clips and tacks example due to limitations in my message structure.
    Please can anyone help??!!!
  • sriramantr
    sriramantr
    6 Posts

    Re: Business monitor and access to array of objects in event.

    ‏2007-10-30T11:31:36Z  
    • anpati1
    • ‏2007-10-24T14:54:29Z
    Hi,

    I'm trying to access variable data from an BPEL variable based event using the path 'variable'_CHANGED/extendedData/variableData. I cannot access any value within the event 'variable'_CHANGED event, neither Predefined data nor Property data nor Extendend data. Has anyone tried accessing values generated by 'variable'_CHANGED event??The event is created against a BPEL variable. I cannot use the 'context'_EXIT event as documented in clips and tacks example due to limitations in my message structure.
    Please can anyone help??!!!
    Do you get any exception while running the monitor model in this scenario?
    I tested with cbe explorer. Events are generated and variable's changed value is updated in the event's metadata. If you can elaborate on your situation, I can help you out.
  • SystemAdmin
    SystemAdmin
    3556 Posts

    Re: Business monitor and access to array of objects in event.

    ‏2008-01-24T17:56:31Z  
    Hi,

    I had a similar problem as anpati1. In runtime the model did not pick up the Variable_CHANGED events. It turns out that the correlation expressions generated from the process model is incorrect. In my chase it had to do with the value for ECSParentID in my main process. If you modify the correlation expression in your monitor model to correlate against something you know is correct, and create a new key variable it might work.
  • SystemAdmin
    SystemAdmin
    3556 Posts

    Re: Business monitor and access to array of objects in event.

    ‏2008-01-25T06:10:56Z  
    Hey,

    Even i had faced this problem. I had to change my design in the end. Any information on accessing array elements in a metric value editor would be useful.

    Let me try and get back to you.
    Hi,

    I am using Monitor 6.1. I am trying to capture the content of an array into metrics. Can anyone please let me know if this possible? If so, how?
    Thanks a lot!
  • AhsanYawar
    AhsanYawar
    2 Posts

    Re: Business monitor and access to array of objects in event.

    ‏2014-06-18T10:14:58Z  

    Hi, 

    Normally with static variables, data is displayed in IBM Business Monitor. I am able to track single entity variables from IBM Process Designer but I can't find way to get array variables (Is List) data into Business Monitor.

    I tried to create custom inbound event in monitor model which should fetch array data and assign it to the metrics but it ended up showing errors. 

    Is the any way Business Monitor can handle array data ?

     

    Ahsan