09-10-2020 08:08 AM
I’m able to call a pipeline successfull from a url thanks to all the good information here on community. Posts like Providing Authentication for Triggered Tasks by passing credentials via https request - #4 by ssanik... where very helpful.
What i’m wondering now is if (and how) I can pass a json document output from another system, directly to the pipeline as part of the execution?
If not, what design patterns have you used when trying to pass data, and execute a pipeline externally?
Solved! Go to Solution.
09-10-2020 08:13 AM
Hi. Have you tried this?
09-10-2020 08:13 AM
Hi. Have you tried this?
09-10-2020 08:55 AM
@jcampion, thanks for your response. This was really helpful and helped me to resolve this issue.
My pipeline is now setup with an open mapper, simply mapping $ to $input.
I tried your suggestion from postman, where a GET works,with no payload. My pipeline is setup with an open mapper, simply mapping $ to $input.
Trying to add a json body to and using POST resulted in a 500 error at first, but the good news is that the notification from the pipeline clued me into my mistake (exactly as you had directed me):
The state of pipeline [AC105 TEST inbound call]…] in organization … has changed to Failed.
Pipeline has no unlinked input views, but there is input data
Resolution:
Change the pipeline to have an unlinked input view or use a GET request
Reason:
An unlinked input view is required when using POST with a triggered task
09-10-2020 09:07 AM
@acesario - glad you were able to get it to work. Yay!