Forum Discussion
Hi @arunnp,
You can pass data from external app by creating Triggered task.
This task can be created from Manager or from the Designers.
So these are the steps:
- Create Pipleline.
- Because the payload is in JSON format, get one JSON Parser snap and after that you can map the fields wherever you have Expression Builder.
- On the same pipeline on the right top corner click on Create Pipeline and select Triggered Task.
It will open up new window, click Save.
After that go in Manager and go into the project where the pipeline is created and find the task(It will be the same name as the pipeline only the “Task” will be added in the name at the end. If you set different name search by that name), hover on the name of the task and it will show up arrow, click on the arrow and go in Details.
Select the Cloud URL: this is the URL from where you will trigger the task also there is HTTP Header for authorization. You can authorize the call by Bearer Token or with Basic Authorization.
On that url you can send the JSON payload.
I also attaching pipeline as example, but you will have to make the task on your own.
JSON_Payload_2021_08_02.slp (4.8 KB)
Here is one example triggering the pipeline above from Postman.
I am not doing anything just move the whole payload to Payload object and returning it back.
Regards,
Viktor
Thanks this helped me lot.
Once I get the input values I need to pass that to the REST get Service URL but the value is not passing.I am doing like this
Here the caller is not getting replaced. I am getting empty response.
I tried {{$Caller}} still no response. I am missing proper syntax. can you pls help with proper syntax.
thanks