In BPEL, both Assign and Transform activities are used to map source elements to target elements. And I read like Assign activity is used when there are less number of copy operations, say 10. If it is more than that, Transform activity is used.
Pls. provide your inputs on the rationale behind this.
Basically Assign activity is generally used to assign values to variables or initializing the variable values and for normal transformation.(Includes very less elements transformation)
Whereas Transform activity is used to transform large amounts of mapping between source and target values.
Assign activity is really used for straight to straight mapping...it cannot do any validation before mapping....where as in Transform, we can validate the data or check for existence of nodes before doing any assignment through the XSLT constructs like if, choose, for-each which prevents errors at runtime...And also, if there are lot of assignments to do, it looks very bad in using assign activities, whereas in Transformation, evrything can be done in one XSL File...