Hi Dev, We have GenericInvoker and WorkflowInvokerWrapperForGFacInvoker in workflow interpretor code. All the services are invoked using GenericInvoker and WorkflowInvokerWrapperForGFacInvoker is never called. But For-each looping is only handled in WorkflowInvokerWrapperForGFacInvoker so for-each loop is not working. Please look at JIRA task [1] for details. To fix for-each i have moved the code from WorkflowInvokerWrapperForGFacInvoker to GenericInvoker (patch is attached on Jira). As we are not using WorkflowInvokerWrapperForGFacInvoker, i suggest to remove the invoker for any future confusion. WorkflowInterpreter need more code cleanup like removing LeadContextHeader reference etc.
Thanks Raminder [1]. https://issues.apache.org/jira/browse/AIRAVATA-444
