Field Service

Get Involved. Join the Conversation.

Topic

    Dilip Jayachandra
    REST API
    Topic posted August 1, 2018 by Dilip JayachandraBronze Medal: 1,250+ Points 
    53 Views, 3 Comments
    Title:
    REST API
    Content:

    Hi All,

    While integrating Oracle Service Cloud and Oracle field service via REST API, how does the service cloud know when an activity is completed in field service?

    I know we have REST API for Activity Complete but how does this work when an activity is completed form OFSC and it automatically triggers to update in OSVC? As there wont be live trigger from OFSC to OSVC, can anyone explain how this can be done.

     

    Thanks,

    Madhu

    Comment

     

    • Shankar Narayanan

      Hi, Pls. refer to the concept called subscriptions in OFSC. This is the preferred way of receiving updates from OFSC to any system. ( https://docs.oracle.com/en/cloud/saas/field-service/18b/cxfsc/OFSC_Creating_a_Subscription.html )

      Typically we use a middleware or Oracle ICS which has this subscription and gets the list of jobs which have completed and the middleware updates the source system.

    • Dilip Jayachandra

      Hi Shakar,

      Thanks for your update!!

      In case we dont have a middleware and integrate OSvC and OFSC via CPM in service cloud, what is the use case of using subcription id

      Thanks,

      Madhu

    • Shankar Narayanan

      Hi,

      I am not sure if I am following your question.  Subscription ID is a unique identifier for understanding which events in OFSC you have subscribed to. Product roadmap in Oracle is towards using ICS as preferred middleware. If you have no middleware, you can write a simple cron job which pulls the information from OFSC & updates the same in OSvC.

      Or you can use the legacy message scenarios which was used before the concept of subscriptions was introduced in version 17. From a design perspective, it is always better to have  an ESB rather than P2P.