Forum Discussion
SpiroTaleski
4 years agoValued Contributor
To achieve that, you will need two pipelines(parent/child):
1.The parent pipeline will receive the message(exposed as an API), prepare the SOAP request, and will call the child pipeline, sending the $Action as a pipeline parameter to the child pipeline.
2.The child pipeline will have the SOAP Snap inside and will receive the message from the parent pipeline. Based on the pipeline parameter($Action) sent from the parent pipeline, will decide what method to execute.
In the SOAP Snap fields you can write expressions and access pipeline parameters.
Or do you want to execute the SOAP request only if the $Action = “directory”(if the action is different than “directory” skip the calling of the SOAP request)?
Regards,
Spiro Taleski