When and why should we use transformers and flow services?
How are they different from each other?
Answers were Sorted based on User's Feedback
Answer / dinesh
When we are performing only one data operation we can go
ahead with directly invoking the corresponding flow
service. If we want to perform the multiple operations in a
single step, it is good to go with transformers in a map
step. This increases the memory usage and readability.
Is This Answer Correct ? | 34 Yes | 2 No |
Answer / satya
Mapping is the process of performing transformations to
resolve data representation differences between services or
document formats. By linking variables to each other on the
Pipeline tab, you can accomplish name transformations and
structural transformations. However, to perform value
transformations you must execute some code or logic.
Developer provides two ways for you to invoke services: You
can insert INVOKE steps or you can insert transformers onto
the Pipeline tab. Transformers are the services you use to
accomplish value transformations on the Pipeline tab.
Is This Answer Correct ? | 20 Yes | 2 No |
Answer / mallik gedda
Both invoking Flow services and
transformers can be used to provide the same functionality,
but there are certain differences
In case of transformers the order of execution
is not strict(i.e the order of transformer execution)
is not determined and multiple transformers can be
executed at the same time.
And also transformers cannot be used whenever the
underlying data structure dimension is different(for ex:
can't execute a transformer on a document when iterating
over a loop on a document list)
Is This Answer Correct ? | 18 Yes | 2 No |
Answer / aarthi srinivasachari
My input:
1) One disadvantage : If there is an exception in the
transformer service, all the pipeline values of the running
flow service will be lost and cannot be caught in
the 'lastError' service. This makes debugging quite tough.
To sum up :
2) Transformers and service invoke does Value
transformations. But with Transformers, in a single step,
multiple transformations can be done.
3) Memory efficient: when compared to using multiple invoke
steps - a single step with multiple transformers consumes
lesser memory.
4) The order of execution of transformers cannot be
controlled. This is more based on the order of transformers
listed in flow.XML (As we know array in XML may be read
from bottom to top)
5) While using transformers, we dont have to worry about
dropping the in/out variables.
Is This Answer Correct ? | 13 Yes | 0 No |
Answer / guest
Most of the above answers are correct and one more
advantage is the service out paramters of the transformer
service dont get added to the main pipeline. whereas in
case of invoke the service out parameters flow to the main
pipeline also.
Is This Answer Correct ? | 13 Yes | 1 No |
Answer / bhaskar
Adding to the above answers, transformers can be used for
any element under a document list on which we are looping
over but cannot be used for child document list which is
under the parent document list on which we are looping
over. Usage of transformers will increase the performance
of the service.
Is This Answer Correct ? | 8 Yes | 1 No |
Answer / guest
Services that you insert using the INVOKE step might also
perform value transformations. However, only transformers
can accomplish multiple value transformations in a single
flow step.
Is This Answer Correct ? | 7 Yes | 2 No |
Answer / amar desai
Transformer emcompass mapping logic. Flow Service can be
implemented as a trsndsformer.
Is This Answer Correct ? | 6 Yes | 7 No |
Answer / sunny
transformer is to be apply in a supply to passes through
the spacified voltage. you can also use it for break up or
break down voltage .
Is This Answer Correct ? | 2 Yes | 38 No |
What Is a Shutdown Service?
When Is a Copy of the Input Pipeline Saved in the Audit Log?
What are Structural transformations ?
What is the difference between DISABLING a Polling Notification and SUSPENDING a Polling Notification?
In which case we are not advised to use Transformers...?
How to connect jdbc connection in webmethods without server and with server step by step explain.
What is a scope of a variable that declared inside the main? Is tht accessible in try & catch block?
Do you buy stocks or bonds from a Broker?
how can you find file name in file-pooling concept?
what kind of error will be occurred if u did not mention from to the exit flow step
What Is a Replication Service?
What Is Flow Diagram View?