20 Aug’15

BIEvent based processing in Scribe Online

Event based processing allows us to expose a Scribe Online Integration as a REST endpoint.

Consider Source as an external application which makes calls to Scribe Online API Web service and Target as Microsoft Dynamics CRM Online.

Our goal is to send a request to the Web service in Scribe Online and execute the solution which inserts data in the target.
Here, we can use Scribe Event Solution which allows us to integrate data triggered by calls to a Web Service.

  1. Integration Services (IS) Event
  2. Use Event Solutions to create integration tasks triggered by calls to the Request/Reply Map.
    1

    1. Open the Solution
    2. Select Agents from the navigation pane in Scribe Online
    3. Click New and select Integration Services (IS) Event
    4. Click New and select Request/Reply from the drop-down list
  3. Set up the Request/Reply map

    Start with the Wait for Request block

    2

    Design the schema for your input fields

    3

    After you save the map, Scribe generates a unique endpoint URL for each map.

    4
    https://endpoint.scribesoft.com/v1/orgs/1725/requests/1224?accesstoken=20bd3d04-a02f-47f4-b09c-81b43ffed37e

  4. Add a Build Reply block

    Define the schema for the fields you want to retur (if any). It can be a Boolean value that says whether the customer was successfully created in Dynamics CRM.

    5

  5. Send Reply Block
    1. Causes the Reply to be sent back to the requester
    2. Use this block to exit out of the map or to trigger an error message
    3. We can use Send Reply to change the error handling. (Send Reply is optional)

    5

  6. Map the fields in the Target block
    In our example, we check if the ID equals 100000001, create a new Project else Send a reply with ‘Do not create’.

    7

    8

  7. Set Security Rules

    From the Security Tab on the Organization page, specify the security rules for the Event Solutions.

    9

  8. Once saved your solution will be in a state of ‘Waiting for Event’.

    10

  9. Set up custom application to call the Scribe REST API
    Copy the endpoint URL and paste it in your custom application.

    1. Postman (Chrome) application is used to make REST call to the web service.

    Below image contains POST request in JSON format to a particular URL.

    Each map within an Event Solution runs independently, depending on the event that triggers

    11

    Click Send to call the Integration solution. You will get a response as shown in below image.

    12

Result in Target (CRM):
– Navigate to Projects

13

Conclusion:

Scribe Online Integration Services provides two kinds of Solutions:

  1. Scheduled Solutions — Integrate data between online and on-premise data stores on a specified schedule or on demand.
  2. Event Solutions — Integrate data triggered by calls to a web service.

 

Written by

Team Member

CloudFronts

2 thoughts on “Event based processing in Scribe Online”

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Reading more then 10K records in D3FOE OData API

    11 July’ 2018

    Introduction: We all know Dynamics 365 Finance and Operations has limitation of 10K records to be fetched at a time usi...

    Read more
  • Paging in D365 Customer Engagement v9.0

    10 July’ 2018

    Introduction: The Xrm.retrieveMultipleRecords method is used to retrieve a collection of records in Dynamics 365 Custom...

    Read more
  • Set up Dynamics 365 connection in Microsoft Social Engagement

    10 July’ 2018

    Introduction: This blog explains how to Set up Dynamics 365 connection in Microsoft Social Engagement. Steps to be follo...

    Read more
  • Voice of the Customer failed to install

    10 July’ 2018

    Introduction: Many people face issues in installing Voice of Customer solution on v9 environment and trying repeatedly ...

    Read more
  • Scribe Insight AX as a Web Service Find Block issue

    10 July’ 2018

    Introduction: If we need to look up for any value from AX then we do it by using a Find Block in Scribe Insight Eg: Basi...

    Read more