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.
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.
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.
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.
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?!
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.