Press "Enter" to skip to content

How to configure Service-REST in Pega?

82

Introduction

First of all, don’t think INTEGRATION is a difficult topic in PEGA. I would say Integration is much easier than creating an activity rule 🙂

Pega makes it simple for developers. All you need to do is configure the Integration rules. Pega takes care of the rest 🙂 Pega provides useful wizards and guides the developers in creating Integration rules.

Integration is full of fun. You will be transferring data between applications. Play with your data.

Let me start from the basics. Every BPM application needs some data to process.

  • Think of any application; banking, finance, insurance; everywhere, we need some data to process.
  • Pega stores the data in the form of property rule type. Data can be stored either in the memory or can be persisted in the database.

Okay fine. Now tell me, “To process any request, is it mandatory that all the data should be available within Pega?”

No. That is not required. Data can be available in other application too.

  • If we need some data from other applications to process a request, then we can use a connector rule.
  • If some other application depends on Pega data, then we can use service rule to service their request.

What is the difference between Connector & Service?

The below picture speaks.

Imagine you have opened a Chrome web browser.  Hit Google map application.

What happens at the back-end?

  • We hit the Google maps server.
  • We are the client requesting the data.
  • The protocol used is HTTP protocol and the server sends a response.
  • The browser paints the UI with HTML and response content.

Hit the URL shown below:

http://maps.googleapis.com/maps/api/geocode/json?address=Chennai

You will get the raw response data. This is how the server sends the response.

HTTP protocol is used above.

What is a protocol?

  • Set of rules that ensure proper communication between applications.
  • In a web services, there are many layers.

Ex: TCP, UDP, HTTP protocols support transportation between applications.

Ex: XML, SOAP are messaging protocols.

JSON – Replacement of XML.

What is REST?

  • Representational State Transfer.
  • It uses HTTP protocol to transfer messages from server to client.
  • REST can use JSON/XML as messaging format. But maximum we use JSON.

Why JSON preferred over XML?

  • First, we need to know why we use JSON or XML.

Imagine, there are two close friends from different countries – France & Spain.

Spanish guy don’t know French as like French guy don’t understand Spanish. So how will they communicate with each other? Yes, through some common language like English.

Similarly, there may be many applications built on different languages like C, Java, Dotnet. They need some common web service messaging formats to communicate.

JSON & XML are the most commonly used messaging formats.

You can point out the differences.

  • JSON is more easy to read when compared to XML.
  • JSON supports only text and number type, whereas XML supports many data types like images etc.,. XML is basically a Mark up Language.

Why REST is preferred over SOAP?

  • REST can use JSON, XML or HTML as messaging formats to transfer data, while SOAP can use only XML.
  • REST use only URI to expose the service to outside world, where SOAP needs to expose the service interfaces.
  • As we saw before, the difference between JSON & XML, SOAP uses more bandwidth and resource for XML message formats.
  • When SOAP use HTTP as transport layer, it can use only POST method, while a REST can use all 4 HTTP methods like GET, POST, PUT, DELETE.
  • REST is quicker than SOAP.

But there are few advantages of SOAP over REST:

  1. SOAP is more secured comparing to REST. SOAP can secure the connection using WS-Security and HTTP SSL, while REST can secure only via HTTP SSL.
  2. SOAP can use HTTP, SMTP and other transport protocols, where as REST depends on HTTP protocol alone.

There is no such condition like you should always use REST over SOAP.

Think about the pros and cons, then decide 🙂

How do we configure Service-REST?

First, let’s see the requirement scenario.

External system needs to access the policy details stored in Pega system.

Let’s say the request is PolicyID and the response is in JSON format.

{“SampleResponse”:

{

“PolicyType”:”Home”,

“PhoneNumber”:”9999999999”

} }

Let’s see, how we can implement this.

 Unfortunately, Pega don’t provide us any wizard to create Service-REST.

Step 1: First you need to create Integration class structure manually.

  1. One main Integration class to hold the service rules.
  2. Other classes to support request and response messages.

In our example,

Request – PolicyID – Single value, no need to create any class structure

Response – Complex structure, we need to create a class for SampleResponse

{“SampleResponse”:                          -à Page structure

{

“PolicyType”:”Home”,

“PhoneNumber”:”9999999999”

} }

Main integration class:

Specify the configuration fields in the class form.

Specify the class as concrete class and it does not belong to a class group.

Response page class: 

Now class is ready. “What will be our next step?”

Step 2: Create the request & response properties.

Request – Since request is a simple single value, we can create a single value property in main integration class.

Response – It is a complex structure.

We need to create 3 properties.

SampleResponse – A page property to hold the response.

PolicyType, PhoneNumber – Single value property in response page class.

Now class and property structure are ready 🙂

Step 3:  Create Service-REST rule.

  • It is part of Integration-Services category.

Customer package name Specify the service package name.

We will see more about service package in separate posts.

It is advisable to create the rule in Org Int class – TVSInt

There are 2 main tabs:

  1. Service tab
  2. Methods tab

Service tab
Primary Page

Page Name – You will see the default page as ‘MyServicePage’. You can keep it as such.

Page class – Specify the main integration class.

MyServicePage will contain the request properties. You can update those properties using data transform.

Resource Properties

First, let us see the paths and query strings in the URL.


This is the URL structure.

So, when you expose a new Service-REST, you can verify the URL in the service package rule.

The URL will be of this format,

http://11.12.124.32:8080/<ServicePackageName>/ServiceClassName/ServiceMethodName

Protocol://<HostName>:<PortName>/<Package>/<Class>/<Method>

You can add few more resource paths to the URL.

For example, if you wish that the URL should contain two more resource paths, then

Now the URL will be,

http://host:port/<ServicePackageName>/ServiceClassName/ServiceMethodName/Policy/<PolicyID>

Here, policy is the resource path and PolicyID will be set dynamically based on PolicyID value.

For this testing, we leave that as blank and proceed.

Processing Options

End Requestor when done – This is applicable only for stateful sessions.

Now you can ask me.

What is stateful session?

Please go through the ‘Requestor types‘ (http://myknowpega.com/2017/05/13/requestor-types/) post, to get the basics of how a requestor gets created for Service processing.

  • A requestor in memory will contain clipboard pages to support processing.
  • After processing a request, this requestor can end and all the pages can be cleared.
  • But, why should we populate the clipboard pages again and again for new requests which belong to same service? We can maintain the state of those clipboard pages in memory and reuse it for new requests.

This is called stateful session. If the clipboard pages are cleared after processing a request, then it can be called as ‘stateless’ session.

We can specify these values in service package rule.

  • Services will be included in Service package rule and inherits the context we specify here.
  • If we need some service to behave stateless, even though the service package is stateful, then check this checkbox.

Method is read only – Leave it unchecked always.

Execution Mode

  1. Execute synchronously – Selecting will enable the service to process the request synchronously.
  2. Execute asynchronously – Queues the request to batch processing agent, to process the request asynchronously.

We will see more of asynchronous parallel processing in a separate post.

Request Processor – Is a rule type that supports asynchronous parallel processing.

Methods tab

We know REST follows HTTP protocol and supports 4 methods:

  1. GET
  2. POST
  3. PUT
  4. DELETE

GET Method

  • Normally we use it to get some resource from server.

POST Method

  • Updates the resource in the service. It can also create.

PUT Method

  • Same as above, not able to figure out exact difference.

Follow this link to get more details:

https://stackoverflow.com/questions/630453/put-vs-post-in-rest

DELETE Method

  • Normally, we use it to delete some resource from server.

In Pega, for Service – REST, normally we use GET, POST.

The main difference between these two are:

  • In GET method, we don’t need the request body. We can send the request as query string.
  • In POST method, we will send the request in request body.
  • When the request is very simple, like our case – Only PolicyID, then we can use GET method.

Let us use GET method here.

First, we need to specify service activity.

Step 4: Create a new service activity – Handle all the processing logic in the service activity.

For now, I hard-coded the response in the MyServicePage.

Now, service activity is ready. Specify the service activity in Service-REST rule.

Now, let us specify the request parameter PolicyID in query string parameters.

By the way, we have successfully configured Service-REST 🙂

Its time to test our service. Let us test the same using PostMan application.

How do you test your Service API?

  1. You can either ping the URL or use some external testing applications like PostMan.
  2. You can run the Service rule manually by providing the request parameter.

Postman – Application used to test APIs

Step 1: Just search in Google and open the app.

Step 2: Select GET method and input the URL.

Step 3: Open the service-REST rule and do open rule trace.

Step 4: In the Postman app, click send button. You can verify the response.

Step 5: You can see the service activity run from the tracer.

We have successfully tested GET method.

Let’s try authentication.

In Step 4, you can see that we didn’t send any authorization, because we didn’t add require authentication in service package rule.

Now, check requires authentication and click send on Postman app.

Now provide the authorization parameters and click update request.

Then click send. You will receive the response.

Okay, “Shall we test the same using POST method?”

Step 1: Update the service –REST rule.

Remove the query string and send the request in request body. Use the same service activity.

Request

Response

Step 2: Go to Postman app and test it.

Happy paths are done.

How to handle errors in Service-REST?

There are two ways we can handle error:

  1. Service-REST response conditions.
  2. Service activity handling business exceptions.

Service-REST response conditions

Click on the plus icon to add more response conditions.

We will catch mapping error in our example.

I added a new response condition – Mapping error and set the error code to ‘001’.

If you are having more than one response conditions, then move the default condition to the last.

For a change, we can run the rule and test the exception.

Step 1: Go to actions button & click run.

Step 2: Select method as POST and don’t provide any input. Execute it.

Step 3: You will get the error code.

You can test for variety of response conditions Pega provides in the service rule.

Service activity handling business exceptions

In the service activity, you can use the business logic to capture the exception and send the error details in response page.

For Ex: Policy ID is null.

Step 1: Open the service activity.

Step 2: Introduce a step to check if policy ID is null in the pre-condition.

Step 3: If null, then set the error message in the response page and exit-activity in the transition.

Step 4: Now, run the Service REST rule with PolicyID as null.

Things to remember:

  • Decide what type of service we need to expose like creating a new work item from the request parameters or just processing the request and sending the response values etc.,.
  • Default service URL format is http://:///

You can add the resource path to this URL and can be parameterized:

  • Decide the request parameters you need to process the request. Share the same with the client. Also get the required response values, the client anticipate from our service.
  • Decide on which HTTP protocol, we need to use – GET, POST, PUT, DELETE. Maximum, we use GET or POST.
  • Create the Integration class structure, Request response properties, Service-REST rule.
  • Build your own business logic inside service activity. Set the response values in the service activity.
  • You can use JSON, XML, HTML formats as input. Preferably, use JSON to gain its advantage over XML.
  • Decide if authentication is required for our service. Authentication is recommended to secure our service.

Let me end this long post here 🙂 In my next post on Connect-REST, I will include the debugging for both services & connectors.

  1. Aditya Aditya

    Too Good.

    There were no REST Services tutorial on the internet and now we have one.

    Expecting REST Connector tutorial as well. 🙂

    Many thanks for creating this website.

    • Premkumar G Premkumar G

      Thank you so much, Aditya.
      I will post that soon.
      You are welcome.
      Please subscribe and stay tuned for more posts.

  2. Mahesh Mahesh

    You didn’t mention how clipboard data will convert into json in service activity

    • Premkumar G Premkumar G

      Thanks Mahesh. I will try to cover it in another Integration topic.

  3. Vijay Vijay

    Could you share some details about service package used in this example?

  4. Sushil Sushil

    Hi Prem ,

    Could you please share some details on SSL authentication in REST service.

  5. soumya soumya

    Hi,
    why can’t you share the difference between pega 7.1.2 and 7.2.2?

    Regards,

    • Premkumar G Premkumar G

      Hi Soumya, Will try to make a post on it soon 🙂

  6. Sai Sai

    Hi Prem,
    Very easy steps to learn quickly.
    Please publish Connect SOAP and Service SOAP if possible.

    Regards,
    Sai.

    • Premkumar G Premkumar G

      Hi Sai,
      Thank you so much, Sai. Happy that you find these information useful 🙂
      Yeah Sai, I’ll post them as soon as I post Connect REST.
      Please stay tuned 🙂
      Regards,
      Premkumar G

  7. Saikrishna Saikrishna

    Hi Prem,

    Could you explain asynchronous service response on. I am unable to find the difference bw synchronous and asynchronous response.

    • Premkumar G Premkumar G

      Hi Saikrishna, I will try to cover it soon in my upcoming posts 🙂

  8. Ramakrishna Ramakrishna

    Hi Prem,

    At first thank you very much i learned alot about Service REST. My doubt is, If i have to configure a complex property (page or Page list) in the Request how can i do that. Can i give the complex property in the Resource Path? If yes could you please let me know.

    Thanks,
    Ramakrishna

    • Premkumar G Premkumar G

      Complex property in the request, you should definitely expose it with POST method, request body data. Clients can send you the complex request using POST method. If your service needs a simple request like ‘PolicyID’, then you can use GET method and expect the users to send it via query strings.

      Resource path – you define for your service. Make it simple.
      Imagine resource path as like this C:/ProgramFiles/Pega. Will you give any complex parameters here? No right. Cool.

  9. Ramakrishna Ramakrishna

    Understood Prem. Thank you very much for the reply and now i got clear idea about Service REST. Very useful information. If possible can you please publish Listeners as well.

    Thanks,
    Ramakrishna

    • Premkumar G Premkumar G

      You are welcome, Ramakrishna. Feel free to ask questions anytime. 🙂
      Okay. I’ve taken a note of it. Will post it soon. 🙂
      Please stay tuned for upcoming posts 🙂

  10. Ravi Kishore Ravi Kishore

    Very nice article thank you so much for this information. Keep rocking the way you are doing. Is it possible to copy this information in the MS word.

    • Premkumar G Premkumar G

      Thank you so much for your encouraging words, Ravi Kishore. 🙂
      I’m so sorry to say that it is not possible to copy the content in MS Word or anything. To avoid plagiarism of the content, it has been done so.

  11. Sathvik Sathvik

    Awesome explanation. Could you please provide File listener
    and Email listener concepts also.

    • Premkumar G Premkumar G

      Thank you so much, Sathvik. 🙂
      Yeah, I’ll post them soon. Stay tuned. 🙂

  12. sudheer sudheer

    Very nice Prem Kumar
    Please share the process how to store/update the existing data in rest service using “PUT” HTTP method

    • Premkumar G Premkumar G

      In Pega service, we just use those method. It is not like you can only store/update the existing data in PUT method. You have an activity and do whatever you want 🙂 But, yes theoretically PUT method is used to store/update existing data 😉

      Hope you are clear now. 🙂

  13. mahesh mahesh

    Hey prem,
    One more question why we need to create integration class as concrete why not abstract.

  14. Naveen Abbina Naveen Abbina

    Prem,This posting is very helpful.Could please provide how to handle errors in integration(SOAP,REST etc…)

    • Premkumar G Premkumar G

      Glad that you find it useful. 🙂
      I’ll post about them soon, Naveen. 🙂

  15. DS DS

    Hi Prem,

    Firstly i would like to thank you bro, you are making life simple for people who all planning to learn. Seriously i thought it was normal blog but the way you are elaborating the concepts was deep and any one can easily understand.

    Can you post on service soap.

    A big thanks bro… 🙂

    • Premkumar G Premkumar G

      Hi DS,

      You are most welcome. I’m feeling elated on reading your comments. 🙂 Thank you so much for your appreciation. 🙂
      Yeah, I’ll post about them soon. 🙂

      You are once again welcome. 🙂

  16. Krishna Krishna

    Hi perm,

    This post helped me a lot to understand the REST concept in Pega.
    Thanks so much.

    Can you pls explain how to specify the Map to KEY/Map From KEY .
    i am getting confused to use either JSON or Clipboard.

  17. Kumar Kumar

    Hi,

    Do you have a post on MQ Integration ?

    • Premkumar G Premkumar G

      I’ll post them soon, Kumar. 🙂

  18. Mahesh Mahesh

    Take the scenario like I have added mapping error and service error in rest service. Executed service there is a mapping error then how it goes to the exact mapping error status code. It may take service error status code as it is configured top of that.

    Please clarify my doubt prem

  19. Krishna Krishna

    Good useful for me.thank you

    • Premkumar G Premkumar G

      You are welcome, Krishna. 🙂

  20. Prashanthi Prashanthi

    Hi Prem,

    Very informative and nice post, thank you.
    Can you also write a post regarding different kinds of reports available in pega,difference between them.
    And why we use RD more frequent then list and summary views?

    • Premkumar G Premkumar G

      Hi Prashanthi,

      Thank you so much and you are most welcome. 🙂
      Yeah, I’ll post about it soon. Stay tuned. 🙂

  21. Garima Jain Garima Jain

    Hi Prem,

    Thank you for such an amazing, well explained and descriptive post. Now creating and understanding REST service is fun.
    Things are pretty clear to me now. You have made it really easy.
    Awaiting next post for Connectors.

    Thank you again and keep posing.
    Regards,
    Garima

    • Premkumar G Premkumar G

      Hi Garima,

      You are most welcome. Happy to hear that you find it very much useful.
      Glad to hear from you.

      Stay tuned. 🙂

      Regards,
      Prem

  22. Maria A Maria A

    Great Work Prem. Learning is a fun. You made this saying true.
    Good post 🙂

    • Premkumar G Premkumar G

      Thank you so much for your appreciation, Maria. 🙂 I’m feeling elated on reading your comments. Thank you so much, Maria. 🙂

  23. PS PS

    Hi Prem,

    Very well explained Service Rest . One thing is when we go for TLS/SSL is checked? I followed the exact steps you mentioned in this post, but when I checked Authentication and in Postman I didn’t provide any user name and password, even then service is returning response? Do you have any idea on this?

  24. Tirupathi Rao Merupula Tirupathi Rao Merupula

    POST method we will use it for Inserting new row in to the table. we will get response as success or not.

    PUT Method we will use for Updating the any values in the table.

  25. Ramachandra Ramachandra

    Don’t we need to deploy the service in Service Package

  26. Chan Chan

    Please write a Post regarding LDAP Authentication. Thanks in Advance.

    • Premkumar G Premkumar G

      I’ve taken a note of that topic. I’ll post about it soon. Stay tuned. 🙂

  27. divyateja divyateja

    Hi Team,
    Very well satisfied with the explanation:) Thanks much for the information.
    Expecting a lot more this way:)

    • Premkumar G Premkumar G

      Hi Divyateja,

      Glad to hear that from you. 🙂
      You are most welcome.
      I will keep on updating. Stay tuned. 🙂

  28. Barathi Barathi

    Hi Prem,

    Good one. Thanks a lot. I have a simple Query.
    How do we know which method(GET/POST) is picked up during runtime ?
    Is that determined by the external application ? If yes, how do we trace it from Pega end ?

    • Premkumar G Premkumar G

      Yes Barathi, External application can use any method.
      I means a single Service-REST can work on work different ways based on four different methods ( GET, POST,PUT,DELETE).

      Other applications can use the method based on their requirement to invoke the service

  29. Barathi Barathi

    Hi Prem,

    How do the authentication profile values gets transferred ? Consider we have set correct authentication profiles at both the ends (in our connector as well as the external service we consume) , but still we get an error as “Authentication Failed”. Where can we see what values are passed through during communication ?

  30. Nisith Laha Nisith Laha

    Hi Prem,

    Firstly, Thank You were much for the idea of bringing in the concept of Integration in so easy way towards us, really appreciate it.

    I was going through the Service-REST notes and tried to replicate it in the personal Edition(7.2)
    While doing it, in the 3rd Step(Create Service Rule), what should i mention in the Customer Package Name, as in the 1st or 2nd Step, it is not mentioned to create any.

    Thanks for your response.
    Nisith

  31. Pintu Pintu

    Hi Prem,

    I tried creating a service for fetching Employee Records Using the parameter ie., the query string Say Employee ID.When I tried to ping the server using postman,I have the data hard coded in the Activity and still the data is not received and shown in the Postman.Need your help in here

    • Premkumar G Premkumar G

      Hi Pintu,
      You can always trace any Pega service using trace open the rule. In your service rest, other actions button trace open the rule. Now hit the service URL from postman with your request.
      Please check if the service activity is getting executed or not. If yes, check the response value.
      Please update your observation here

  32. Shivam Kahndelwal Shivam Kahndelwal

    How to trace flow or event after wait shape period is over ?

    • Shivam Khandelwal Shivam Khandelwal

      Please provide notes on smart shapes and above question.

  33. Sarath Prashanth Sarath Prashanth

    HI Prem ,

    You did an Awesome Job. Now Rest looks easy and thanks to you. A small query from my side is in Response for the default Condition there is a row for header details. What is the use of it ? Cause i can see there is some mapping enabled. Please put your thoughts in it.

    Thanks,
    Prasanth

  34. Jove Jove

    Hi Prem,

    Nice Post. I just wondering how to log the request & response from the Service-Rest. I have added
    “com.pega.pegarules.integration.engine.internal.services.ServiceAPI” in Log level as Debug. But I am not sure this is enough to get the req & res. Please let me know how to get those in logs.

  35. Sarath Prashanth Sarath Prashanth

    Hi Prem , its an wonderful work. Love it..
    I just have a query. In post method i am sending my Request as a message data. When i hit it, i can the value is coming in diff format. (i.e) ID=”1″ this is value coming in tracer for the property ID. Can you explain wht might be ? or do i need to send the key in postman app differently. If i use query string it works fine.

    Thanks in Prior

  36. Senthil Kumar Senthil Kumar

    Hi Prem, I agree, But there is a challenge if we have to display response in XML using Service-REST? Some of the client want it in JSON and other want the same in XML. How we have to do conversion? I tried in pega it doesn’t work so we have the java team who take care of this. Is there any other way we can do this?

    I’D like to know about the Decision Table/Decision Tree. Could you post that in your blog?

    • Senthil Kumar Senthil Kumar

      My Bad, I saw the method tab in edit service-REST, where the content type = “application/XML”

  37. Lakshmi Lakshmi

    Hi Prem,

    Really you are doing a great job by sharing your knowledge with free of cost. Thank You so much for this.
    I have one question regarding REST Integration.
    Can we send emails through REST or SOAP?
    If YES, Please tell me how

  38. Lakshmi Lakshmi

    Hi Prem,

    One more Question.
    Why we need to build class structure manually. We can build it through Service Wizard by selecting service type as HTTP.
    Please correct me if I’m wrong

    ThankYou so much for your knowledge sharing

  39. Siva Siva

    Hi Prem,

    Can you post about Localization how to work on it?
    For example I have developed application in English language and how to translate it to Some other language.

    Like same application to use some other county peoples like French , Chinese and Dutch

    Could you please post how to do it in Pega

    Many Thanks in Advance
    Siva

  40. Ankit Ankit

    Hi Prem,

    My requirement says that the request must be “Case ID”, “Name” and “Email” while the response must be a random generated ID.
    For this, I have created a Request Class and Request Properties (Name and Email as Text property) to hold the request. Later, I have created a Response Class and Response Property to hold the generated ID.
    Under Service Package, I have provided the Request Class.

    I have 2 questions: –

    1.) I am unable to access Response properties under Response category of Service Package since the class is different. How to access Response property?
    2.) I have created Request under Data class hence I am unable to pass pyID in request. Can I create Request under Work class?

    Thanks,
    Ankit

  41. tabassum tabassum

    Hi Prem,

    Could you please elaborate Stateless and stateful.
    As my knowledge we use the stateless when any requestors (unauthenticated) from pool can process the request which means the request which had processed by the requestors were in queue and wait for the other request.
    but when we want an authenticated requestors only needs to process the request we go for stateful.
    then how about the clipboard clearing concept.

    Thanks In Advance

  42. Aung Aung

    May I know how to trace whether myRequestID is passed to activity or not?

  43. Sridevi Sridevi

    Very help full. Thank you so much Prem 🙂

  44. Rajithasarathi banala Rajithasarathi banala

    Hi Prem Kumar,

    I have Created the Service-Rest and am getting the Valid response based on the request i have provided. but when i am checking the endpoint URL in the Postman/or trying to Create Connect-Rest through the Endpoint URL still i am not able to retrieve the data (“Getting Resource Not Found”) Exception. I have traced the Service Activity through the trace open rule and i am getting the data as expected in trace.

    Thank you… Could you please help me on this….

    • Rajithasarathi banala Rajithasarathi banala

      Hi Prem kumar,

      I have created the service-Rest and am getting the valid response based on the request i have provided, but when i am checking the endpoint URL in the Postman/or trying to Create connect-Rest through the Endpoint URL still i am not able to retrieve the data (“Getting Resource Not found”)Exception. I have traced the service activity through, trace open rule and i am getting data as expected in trace.

      Thank you.. could you please help me on this

  45. Bharath Bharath

    Hi Bro, very accurate and clear explanation. Thanks a lot. I have a small requirement. The service rest rule which I’m creating should give response only at 50% times, that is, only 5 times it should send a response if the Service is hit 10 times. I believe this could be achieved only in Service activity. Please share your knowledge.

  46. Chandra Chandra

    Hi PremKumar,

    I have a complex type in Json Request in Connect-REST like below,

    {
    “id” : “123456”,
    “contents” : {“en” : “English Text”},
    }

    In above, “contents” looks like complex type, So i tried to pass Query String Parameters as below,

    id Clipboard Param.id
    contents.en Clipboard Param.content

    But is passing blank value for “en”. Could you suggest the usage is correct for “contents.en” or any other way??

  47. Shyam Shyam

    Hi All,

    I have to use complex page lists in request can we get any sample request screen shots.

  48. Pandey Pandey

    I would like to work with you.

    • Premkumar G Premkumar G

      Ha ha ha ha. 😀
      I’ll be glad to.

  49. Nani Nani

    Hi prem please post some information on decision rules that should be helpful for us.

    • Premkumar G Premkumar G

      Hello Nani,

      Yeah I’ll post about decision rules soon. Stay tuned !

  50. Archisman Archisman

    Hi,

    Question : How to get the URL from the Service-REST rule?

  51. khanna khanna

    I have followed exact steps but not able to create a service.

  52. Venkata Narayana Venkata Narayana

    Hello Prem, can you please explain me what the advantage and dis-advantage of
    branch-rulest , and when to use branch-ruleset is best approach, please explain this scenario,

    Thanks in advance
    Venkata narayana

Leave a Reply

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

error: Content is protected !!