Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
What is the correct way of calling an Info*Engine xml task from a workflow expression robot? Thanks.
The ability to quote is a serviceable substitute for wit -- William Somerset Maugham
below is a sample psudo code using which you can read a task and iterate through results.
com.infoengine.SAK.Task task = new com.infoengine.SAK.Task ("yourIEtask.xml");
task.setParam("param",value); //if requires any parameters to be passed dynamically
task.setUsername(sessionUserName );
task.invoke();
//Read the output using Group.
com.infoengine.object.factory.Group containers = task.getGroup("GROUP_OUT_NAME");
for (int i = 0; i < containers.getElementCount(); i++)
{
MyVar="+ (String)containers.getAttributeValue(i, "att");
}