Hi All,
I am in the process of coming up with a GP Runtime dashboard which displays the information regarding all the running processes for an user. As a part of that I need to access the output parameters of the process which are actually populated by the callable object. I tried out things in the following way:
IGPStructureInfo struct = actionInstance.getTemplate().getOutputParameters(); Collection collection = struct.getAttributes(); Iterator iterator = collection.iterator(); while(iterator.hasNext()){ IGPAttributeInfo test = (IGPAttributeInfo)iterator.next(); wdComponentAPI.getMessageManager().reportSuccess("test.getnamesapce"+test.getNamespace()); wdComponentAPI.getMessageManager().reportSuccess("test.label.name"+test.getLabel().getName()); wdComponentAPI.getMessageManager().reportSuccess("test.label.name"+test.getTechName(); }
The above code is not working as expected. Is it some way to pull out those parameters of the callable object or the process as such ?
-Thanks in advance
KN