on 04-14-2006 4:35 AM
Hi,
Does anybody have any idea, whats the variable we need to pass in the control step of exception handling in BPM? and how to map the error message back to the RFC Response.
I had Transformation step, in that mapping is also there.
Is there any ideas??.
Thanks,
Raj.
Hi,
why do you need control step??
just put the transformation step in the mapping
in the exception branch and then if the exception will occur the mapping will be triggered
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think Raj means that
when the exception raises, catch the exception
and get the error content(such as exception content, what fails something like that),
then map the error content to RFC Response
It it right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One more thing,
<i>get the error content(such as exception content, what fails something like that)</i>
We try and handle an exception, so that, the BPM process does not stop abruptly.
In case you want to send this exception to the file, just insert a block for the exception and insert a send step. In the interface determination, make the necessary changes.
Regards,
Smitha.
One more thing,
<i>get the error content(such as exception content, what fails something like that)</i>
We try and handle an exception, so that, the BPM process does not stop abruptly.
In case you want to send this exception to the file, just insert a block for the exception and insert a send step. In the interface determination, make the necessary changes.
Regards,
Smitha.
hi Smitha Rao
i know that the block can insert the exception branch
and we can throw the exception in <b>Send</b>, <b>Transformation</b>, and <b>control step</b>
you said
<i>insert a block for the exception and insert a send step</i>
i just wonder in the <b>send</b> step i should send what message?
As we know, all the message types are built by ourself,
how to build the exception message ? It should map from what?
Or is there system exception message we can use directly and send directly?
Hi,
The requirement was to send the exception that occured to a target (say file).
<i>insert a block for the exception</i>
You cannot place an exception step without a block right... thats what i mean by the above statement.
Now, just after the exception has taken place, if i put a transformation step, and a send step, you will be taking care of sending the exception message to the target.
<i>how to build the exception message ? It should map from what?</i>
You could build a data type for the exception.
In the mapping, you could map it to constants. For ex:
if you build your DT as
<excep>
<code/>
<desc/>
</excep>
You could map the description to a constant string "timeout".
After this, the send step will send the message to the file, through the abstract interface that you create.
Regards,
Smitha.
Sorry Smitha Rao
my understanding is very bad.
Now
i understand what you mean
You mean that each step correspond to an exception branch.
but
if i want to get the exception more detail
such as in the mapping i just want to know
which field failed mapping!
such as
Source->substring(10,2)->target
input source = "s"
it will raise exception
In your case, i just only know the transformation is wrong
but i dont know that the field source is not valid.
how can i catch the "source" field ?
Lawrence,
<i>when my mapping raises an exception, how do i catch the
fault field and save to file?</i>
You could have different exception handlers, to handle different kind of message exceptions.
Ex: source field is missing, an (field missing)exception is raised and a corresponding Exception Handler will take contol.
If, a value of a field is incorrect, we need to have another (incorrect value)exception and a corresponding exception handler.
Regards,
Smitha.
Message was edited by: Smitha Rao
Hi,
<i>whats the variable we need to pass in the control step of exception handling in BPM?</i>
A control step asks for three parameters:
1. Step name: name of the step. (you can give any name)
2. Action : What do you want the control step to do? throw an exception, or cancel a process.
3. If you want it to throw an exception, specify the name of the exception.
After this, you will have to place a exception handler which can handle this exception.
<i>how to map the error message back to the RFC Response</i>
What kind of error do you want to send?A mapping error?
Regards,
Smitha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.