can anyone tell me what’s the different between a task and an portlet in webmethods?
The definition for portlets can be read on Wikipedia (http://en.wikipedia.org/wiki/Portlet). Generic portlets conform to JSR168. A ‘Task’ is also a portlet that you design to handle a human step within a business process model. Generally the task will be implemented as a specialised portlet for the presentation of business data and providing task specific functionality. webMethods CAF provides the developer with access to APIs for managing the task itself, e.g. accepting the task, completing the task, etc.