cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation in GP

Former Member
0 Kudos

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é

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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>

Answers (1)

Answers (1)

Former Member
0 Kudos

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");

}