Unable to delete default work group / teams from operator through constellation landing page in 25.1 version

Unable to delete default work group / teams from operator through constellation landing page in 25.1 version

I could able to add multiple teams but cannot able to delete existing teams and also we don’t have customisable option like a radio button in the table to select default value

I would need a little more details here - how are you adding teams in a landing page now? Are you using CRUD Operations for Operator Records via Landing Page - Knowledge Share - Pega Forums ?

What error message do you get if you try to delete the team? Some screenshots would be helpful for context.

Hi @MarcCheong,

Yes, I’m using the same approach. I modified pySaveOperatorDetails and I’m saving the changes using a savable Data Page.

I’m not getting any errors. My logic removes the page that contains the Default team and then appends the newly selected teams. During tracing, I can see that the Default team page is being removed successfully.

However, when I open the Operator record in the UI after the save, the newly selected teams are appended, but the Default team is still present. It looks like the new values are being added, but the Default team isn’t actually being removed from the persisted Operator record.

Have you come across this behavior before, or is there anything else I should check? I can see that RH_1 page is bringing that value on operator id rule

I think you’ve to reset the pyWorkGroup to remove the default team from your list.

First of all, I would be raising a ticket with My Pega Support - this is strange behaviour.

Normally when what you describe happens, I would of said its because the field is read only, you can’t update it in the payload BUT this page list of teams is all the same. So it can’t be the security behind the DX API blocking read only fields.

What happens if you show the default team in the UI and delete it there? rather than in your save plan?

Hi Marc,

  1. Initially i tried to first check for default team in the list and then tried to remove that page before adding the new list of teams but it is causing index issues.

  2. Is there a way to directly display the existing teams with a delete option? I tried to pull teams by operator using pyworkgroup list but even if i enable the delete record option in the list view it is not working. Is there any workaround for this

I would of thought existing teams was just a data reference in the data model? so you would have selected what was already there and modify it as needed…

is that not the case? :expressionless_face:

I am showing the existing workgroup using pyworkgrouplist and below i am trying to add a new workgroup so if the user unexpectedly selected a wrong team and assigned then there is no provision to delete it