on 10-12-2007 7:09 AM
Hi all,
I'm trying to design a guided Procedure using WebDynpro callable objects. I have 4 WebDynpros A -> B -> C || D.
WebDynpro B has a boolean output value. I want to navigate either to C or D depending on the output value of B.
I don't want to use a Decision Step CO.
Could you please tell me how this works?
I'm Using EP 7.00 SP12.
thanks in advance,
René
Hi Rene,
why don't you try to use a business logic CO,
as described in this <a href="/people/sijesh.manohar/blog/2006/11/22/enabling-approval-within-interactive-forms?</a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
If you dont want to use a decision box , you can write code in your B - Web dynpro calleble object to decide upon the exit state as per your boolean value.
let us assume the Web Dynrpo Object B has a complete method in the added IGP Interface.
This method is called when action is to be taken to fire the next state from B.
public void complete( )
{
//@@begin complete()
try {
IGPStructure output = executionContext.getOutputStructure();
if ( condition true)
{
executionContext.setResultState("Success"//result state of C );
executionContext.processingComplete();
}
else
{
executionContext.setResultState("Success"//result state of D );
executionContext.processingComplete();
}
}
catch (GPInvocationException e) {
wdComponentAPI.getMessageManager().reportSuccess("gp invoction");
}
catch (GPEngineException e) {
wdComponentAPI.getMessageManager().reportSuccess("gp engine");
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
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.