- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-15-2023 11:09 PM
Hi,
I have tried simple rest outbound integration. If we create a incident record in one instance then another record should be created in demo table of another instance. I have written business rule to trigger api. For static values it is working fine. if i want dynamic values of short description and description field it is not working can you guide me to achieve this.
In the content field if i assign static values it is working fine. if i try to get dynamic values it is not working.
BUSINESS RULE:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2023 06:34 AM
there is a bug in your code when it comes to fill in the placeholders in your REST message body. The correct version is:
request.setStringParameter("short_description",current.short_description.toString());
request.setStringParameter("description",current.description.toString());
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2023 06:34 AM
there is a bug in your code when it comes to fill in the placeholders in your REST message body. The correct version is:
request.setStringParameter("short_description",current.short_description.toString());
request.setStringParameter("description",current.description.toString());
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2023 01:22 AM
If i try this 2 records are created at same time. can you guide where i went wrong. i have user before insert business rule