Question
Lanit
RU
Last activity: 30 Jan 2016 10:32 EST
How to use an Assignment service?
Could someone help me with the following use case:
There is an assignment with a flow action. It's need a send a request to an externa system after the flow action using connect SOAP rule. Then it's need to wait till request from the external system to SOAP service rule and procceed the flow. I believe it's need to use an Assignment service here, so it shoud have a properties to set the soap connector and soap service. But it's possible to set only soap connector via connect activity. How can I tell to assignment service which soap service it should listen to?
Message was edited by: Vidyaranjan Av, Included Category-Integration
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Can't you call the external service using Post Processing of the Flow Action and then use a Wait shape on your Flow for the response? The Data Transform Rule on the Action tab can help with the property set.
Lanit
RU
Thanks, Vipin. I know about this approach to handle such use case. I'm just wondering, is it possible to use an assignment service here?
Hi Nikolay,
As per my understanding you want to know which SOAP service (Service-SOAP) to call from the assignment shape in the flow, is that correct? Have you used the Service Accelerator (Designer Studio> Integration> Services>Service Wizard)? Once you run this wizard and mention your Work type, flow type etc.. From the example below pyStartCase flow rule will start when the service is invoked. Does that helps?
Lanit
RU
Thanks, Aditya. I tried to use the Servicee Accelerator but for some reason I can't select my custom work type. There several work- classes in my application but only Embed-CM-Task is available to choose.
Pegasystems Inc.
IN
the flows configured as starter flows should be displayed in the dropdown.
could we ...
- compare the flow rule XML (Embed-CM-Task) to the actual work initiation flow rule?
- or trace RULE-OBJ-ACTIVITY RULE-OBJ-FLOW GETFLOWLISTCREATEWORK to learn the behavior?
Pegasystems Inc.
IN
Hi Nikolay, Good morning!
>>> It's need a send a request to an externa system after the flow action using connect SOAP rule
- assume that we're successful in sending the request to external system.
>>> Then it's need to wait till request from the external system to SOAP service rule and procceed the flow
- would it be a convincing option to route the assignment to a workbasket?
- if need we could configure an SLA to manage negative use cases
- where request from the external system to SOAP service rule has never come like...
- if need we could configure an SLA to manage negative use cases
>>> it shoud have a properties to set the soap connector and soap service. But it's possible to set only soap connector via connect activity. How can I tell to assignment service which soap service it should listen to?
- In the service activity we will either...
- query the work table using pyID or some unique identifier or
- to pull the right work object to move forward in the flow
- will send pyID as parameter in the Service URL
- once the workobject is identified
- call ResumeFlow specifying the waiting assignment to move forward in the flow
- query the work table using pyID or some unique identifier or
please find below sample flow rule...
Hi Nikolay, Good morning!
>>> It's need a send a request to an externa system after the flow action using connect SOAP rule
- assume that we're successful in sending the request to external system.
>>> Then it's need to wait till request from the external system to SOAP service rule and procceed the flow
- would it be a convincing option to route the assignment to a workbasket?
- if need we could configure an SLA to manage negative use cases
- where request from the external system to SOAP service rule has never come like...
- if need we could configure an SLA to manage negative use cases
>>> it shoud have a properties to set the soap connector and soap service. But it's possible to set only soap connector via connect activity. How can I tell to assignment service which soap service it should listen to?
- In the service activity we will either...
- query the work table using pyID or some unique identifier or
- to pull the right work object to move forward in the flow
- will send pyID as parameter in the Service URL
- once the workobject is identified
- call ResumeFlow specifying the waiting assignment to move forward in the flow
- query the work table using pyID or some unique identifier or
please find below sample flow rule...
Please share your thoughts/comments, Thank you!
psahukaru
Pegasystems Inc.
IN
to sync user action between callback and manual processing...
- raising ticket (setTicket) applied on 'Wait at WB' assignment may help when an expected outcome is not received. (in a +ve scenario)