Question
1
Replies
2093
Views
Cognizant
Posted: July 15, 2017
Last activity: July 16, 2017
Closed
Solved
How to identify Service Requestor type
I created service which creates case by using svcAddWorkObject activity. Based on requestor type (like APP -- external system or BROWSER -- users), case flow path will be determined in run time.
How to determine the Requestor type in service activity. Is there any OOTB when rule to identify like InBatchRequestor when rule?
I don't think there is any available out-of-the-box when rule which has this functionality. However, its pretty straightforward to cook up your requirement in your service activity via a Java step below.
return tools.getRequestor().getTypeName();
you can match the above returned requestor type string with the following valid values in subsequent steps.