cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Calling Info*Engine xml tasks from a workflow

fbuyuklu
3-Visitor

Calling Info*Engine xml tasks from a workflow

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

1 REPLY 1

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


}

Top Tags