- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 10-12-2021 11:16 AM
Scenario: Create an Incident on the target SN instance and fetch the created incident number and sys_id from target to source SN instance using POST HTTP method.
1] In the source SN instance on the Incident form: Configure -> Form Layout -> Add Correlation ID and Correlation display fields
2] Create REST Message: specify the Target instance Incident table URL and create an Auth profile.
3] Create a POST HTTP method: specify the Endpoint, configure the HTTP headers and HTTP Query Parameters as shown below. Then click on Auto-generate variables.
4] Create Business Rule: When to run is set as async and only Insert is selected. This BR will trigger an Event, which in turn will call a Script Action
5] Create an Event: go to System Policy -> Events -> Registry -> New
6] Create Script Action: We have created a Script Action as we cannot use current.update() in any Business Rule
Regards,
Ritesh