Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! 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");
}