Hi experts,
We have a webdynpro application where the user inputs certain data.
Then from this application we are triggering a GP process and also passing parameters to the GP process.
In GP my Approval callable object is webdynpro(GP interface) Co.
In the execute method, I am reading the input parameters
CurrentLevel=(executionContext.getInputStructure().getAttributeAsInt("I_CurrentLevel"))+ 1;
totalLevel=(executionContext.getInputStructure().getAttributeAsInt("I_TotalLevel"));
VendorNo=executionContext.getInputStructure().getAttributeAsString("I_VendorNo");
Now in complete method I am writing these values to the output parameters.
output.setAttributeValue("O_VendorNo",contextElement.getVendorNo());
output.setAttributeValue("O_TotalLevel",contextElement.getTotalLevel());output.setAttributeValue("O_CurrentLevel",contextElement.getCurrentLevel());
In the Gp I have a process under which I have a postcondition loop ,it has a loop decision action and Business logic Co (with two parameters current level and total level).
And next I have a sequential block with the approver Co.
I have certain doubt regarding the parameter mappings.
For the first time the input to the Approver Co is passed from my application (triggering and also passing parameters).
So we are able to see the input parameters on the GP screen.
When the first approver approves it, it checks the loop condition, but my problem is Always the input to the approver screen is same.
After first approval the output of it should become the input for the second approval.
At which level should I group the parameters in GP because i tried mapping them at process level and also at the postcondition block level .
Thanks,
Swetha