Event Based Processing – Creating a Request/Reply Map in Tibco Scribe Online
In this Blog a Request/Reply Map is created to verify the Event based map which can send and receive data. This can be done a number of ways but Postman is more commonly used utility that can be used for this purpose.
- Login to app.scribesoft.com and select the Organization as CloudFronts Technologies LLP.
- To Create a new Solution click on the + Button and Select Integration Event
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-42-1024x417.png)
- Now Rename the Solution and in the Maps section, click on the three ellipsis and select Create Request/Reply Map to create a new Map.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-44-1024x245.png)
- Now Rename the Map and Add Connector.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-46-1024x487.png)
- You can Create a new Connector or select any connector which is already created.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-47.png)
- Create a Map as shown below.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-48-1024x555.png)
- In Wait for Request Block, click on Request and add field names as desired and Click on Validate and then OK.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-49.png)
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-50-1024x454.png)
- In Create Block, in General Tab and add the entity name in which you want to integrate.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-51.png)
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-52-1024x684.png)
- In Fields Tab, map the important fields and click on OK.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-53-1024x454.png)
- In Build Reply Block, in the Fields tab drag and drop the fields from Results section to the Target Connection side and the click OK.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-54-1024x452.png)
- Once the Map is created then Click on Apply and OK.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-55-1024x489.png)
- Again open the map and copy the Endpoint URL.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-56-1024x469.png)
- Now in Postman click on + icon and Add a request.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-57-1024x554.png)
- Select POST and paste the Endpoint URL, then in Authentication tab select No Auth.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-58-1024x347.png)
- In the Headers tab, enter the Key and the value as shown
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-59-1024x327.png)
- In the Body tab, select raw and select JSON, then type the JSON Format and enter the field and value as desired.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-60-1024x395.png)
- Click on Send.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-61-1024x338.png)
- You will get this as result in the Body section.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-62-1024x576.png)
- In Tibco, in the execution history you can see the process is completed successfully.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-63-1024x324.png)
- In CRM, you can now see the Record is created.
![](https://www.cloudfronts.com/wp-content/uploads/2021/12/image-64-1024x477.png)