cancel
Showing results for 
Search instead for 
Did you mean: 

BPM Collect Transformation Step Raise Alert need help

Former Member
0 Kudos

Hi,

Scenario BPM Collect.

Block 1 - Multiple xml messages received and collected into multiline container.

Block 2 - Transform multiline container element into single message. Mapping Error throw Transformation Exception.

Block 2:Exception Branch - Transform multiline container element to error multiline container element (based on BpmPatternReqRespTimeOut with a twist).

Block 2:Exception Branch - Send multiline container element to Communication Channel for further error analysis.

Block 2:Exception Branch - Throw Alert BPM_ALERT Transformation Failure message.

Getting Compilation errors because I am not allowed to output a multiline container element...?

Behaviour without the Exception Branch Transform and Send is that the first message collected in the ccBPM goes to Green Flag and the others goto chequered flag when the BPM_ALERT is thrown. This is not desirable behaviour.

Would like to output multiple line container element so I easily know which group of messages failed ie file 1,2,3... so that I can go to the Error folder and repost them in the Sender Communication Channel if required.

Once this is working I am trying to identify which file had the conversion problem so I can filter if out from the others and process the others attempting to pass information from a UDF as to which item in the multiline container element I reached before I had a problem int he original mapping...?

I have read Michal Krawcyzk's blog on ALERT variables and Help on Throwing Alerts etc but I am progressing slowly with my solution...

thanks,

V

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thankyou Chirag for those Blogs.

The first is the one I have looked at most recently and the second has given me an idea.

If I change my mapping of the multiline container element each line holds an xml message to the error element by calling a UDF to map the payload across then at least I would have output my Payload that errored? I will try it and see Java coding is not my forte currently.

thanks,

V

Former Member
0 Kudos

Hi,

Please take a help of this two weblogs.

/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated

/people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi

Thanks and Regards,

Chirag Gohil