on 11-25-2020 10:24 AM
Hi all,
My intension is to use the "call step" atom like a function.
Referencing help: Call another step synchronously, processing only the processing phase of the step and returning the result to the call atom.
I expect to get back a result/payload, but there is nothing.
Any ideas?
kind regards
Paolo
Hi,
so yes it's possible. I've made a try and it works.
So basically,
One main step, in the first transforming atom, i define a single node
<xsl:template name="transform">
<noeud>10</noeud>
</xsl:template>
Passing the the atom to the sub step
the substep contains only a simple transformation
<xsl:template name="transform">
<xsl:attribute name="pltype">xml</xsl:attribute>
<outputNode>
<inputNode>
<xsl:copy-of select="/vpf:Msg/vpf:Body/vpf:Payload/noeud"></xsl:copy-of>
</inputNode>
<isDone>Ok</isDone>
</outputNode>
</xsl:template>
Don't forget to define inbound and outbound for the substep, to validate the step.
When i ran the test, the output is ok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pierre, Hi Radek
Thank you for your help. Your solutions are working. Basically I did the same, but for an unknown reason my substep didnt return any payload. I redesigned the step, and now it working too.
kind regards
Paolo
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.