Question

36
Views
Karthik Kummera (Karthik K)
PEGA
Senior Demo Engineer, Support
Pegasystems Inc.
IN
Karthik K Member since 2016 36 posts
PEGA
Posted: January 22, 2021
Last activity: January 22, 2021
Posted: 22 Jan 2021 12:20 EST
Last activity: 22 Jan 2021 15:22 EST

Rest Service - Processing Options - End Requestor When Done

One of the Six Constraints of the REST Services is - stateless.

In Service Rest rule, under "Processing options" - we have a checkbox "End Requestor When Done".

As per the help guide, End Requestor When Done is "When the Processing Mode field on the service package data instance is set to Stateful, select this option to have the system end the requestor after the activity ends and the response is sent If the services are stateless, the value in this field is ignored."

For example, consider the below scenario:

We have a service package where it has soap and rest service methods and the processing mode is set to stateful in the service package rule.

As Rest service should be stateless, In Service REST rule, what is the need of having this checkbox "End Requestor When Done" for the Rest Service rule. Can't it be removed?

ServiceRestRule

***Edited by Moderator Marissa to update Platform Capability tags****
Pega Platform 8.4 Data Integration Solutions Engineer