Question
Sensiple Software Solutions
IN
Last activity: 3 Feb 2018 13:14 EST
Work Party for list of Operators
Hi,
I have requirement which needs to create a work party (that includes multiple operators) based on the page list property entries in the assignment.
How to implement this scenario ?!
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Hi Santhosh,
Ideally, if the workparty name is TestParty and you add multiple parties to it. Then the new workparties will be created as TestParty_1 etc.
Coming to the logic of how to add, We should keep a top-level dummy page(let us say OPPage). Use this OPPage to populate your workparty in a Data Transform. You can loop through the page list and populate OPPage and call addWorkObjectParty in that loop.
-Ravi.
Pegasystems Inc.
IN
Hi Santhoshjr,
Thanks for writing to PSC.
There is an activity named as PartyAddOperator in work-. You need to pass operator id to create new party. Kindly explore this might suits your requirement.
Thanks:
Gurpreet
Sensiple Software Solutions
IN
Hi Gurpreet,
Here I'm able to enter Only one operator id , but I need to add multiple operators.
Regards,
Santhosh
EPAM Systems, Inc.
ES
Hi Santhosh,
Thanks for posting on PSC.
There couldn't be multiple operators associated to a work party rule, if my understanding isn't wrong.
A work party is a person, organization, or business that is involved in some way with the progress or status of a work object. The system associates the data defined in a work party rule with a work object, which can have multiple work parties. Using work party rules makes it easy to capture and store this information in your work object.
Refer:-https://community.pega.com/introduction-work-parties-and-work-party-rules
Though, if I understand your requirement correctly. Do you want something similar to group id or Delivery list kind of operator having multiple operators, such that for an event a correspondence/message is sent to all of them? Please rectify me, if my understanding of your requirement is wrong.
Refer it:-https://community.pega.com/sites/default/files/help_v722/procomhelpmain.htm
Hope it helps, please notify by marking this post as answered/helpful if it does.
Regards,
Asif
-
Anthony Tham
Sensiple Software Solutions
IN
Hi Asif,
You have got my requirement correctly.
Thanks for responding my query.
I have to send Correspondence to multiple operators which I'm going to get using Page List property.
If I enter three operators in page list then mail should be triggered to all of them.(For populating the operators I have used Dropdown source as Report Definition and Class as Data-Admin-Operator-ID). So How can I configure the party class and data transform in work party rule.
Previously I used work party to send correspondence to single operator and it is working fine.There I have used Party class as Data-Party-Operator and in Data transform I used (pyWorkPartyUri ) as target and source as Operator name which I displayed in UI.
Pegasystems Inc.
US
Hi Santhosh,
You can use work parties that are repeatable for this. To dynamically add a workparty we use addWorkObjectParty activity. This takes a parameter to know if the workparty is repeatable. Also we must set the workparty as repeatable in workparties rule.
Hope this helps.
-Ravi.
Sensiple Software Solutions
IN
Hi Ravi,
I have used addWorkObjectParty only add work party dynamically.Even though if I use party repeatable it was not working and asking for correct data transform to get the operators details to populate in Work party rule.
For a single operator It will get data from selected operator profile and I ca add that operator to a workparty.But for more than one operator how to include those operators in work party.
Assume that You need to include five operators in to one work party either by using Operator profile value or manually entering details in form.So how to achieve this requirement?!
Regards
Santhosh
Accepted Solution
Pegasystems Inc.
US
Hi Santhosh,
Ideally, if the workparty name is TestParty and you add multiple parties to it. Then the new workparties will be created as TestParty_1 etc.
Coming to the logic of how to add, We should keep a top-level dummy page(let us say OPPage). Use this OPPage to populate your workparty in a Data Transform. You can loop through the page list and populate OPPage and call addWorkObjectParty in that loop.
-Ravi.