Change the default choice of the Service Operations Workspace to "Your team's work"

lrmatamoros
Tera Contributor

I need the SOW to display the team's work by default instead of the person's work.

1 ACCEPTED SOLUTION

Haseeb-Ahmed
ServiceNow Employee
ServiceNow Employee

Hi @lrmatamoros ,

You may follow below

1. open UX Client Script Include (sys_ux_client_script_include) "SowIncidentLandingPageUtilsSNC"

2. Override method "getWorkPersonaConfig" to have "defaultSelected": ["your_team_work"], in non snc version "SowIncidentLandingPageUtils"

3. You may follow this to understand how to override(https://www.servicenow.com/community/itsm-articles/configuration-activities-for-service-operations-w...

 

Please accept the solution or give a thumbs up if it answers your query.

Thanks,
Haseeb Ahmed

View solution in original post

12 REPLIES 12

Tried above steps but not working 

Since one of the answers was the solution for the person creating this question, it may help you better if you create your own question describing what you are looking for, what you tried and what the result was. Just replying to an old question from someone else and stating that it didn't work for you, while it did for them, won't get you a solution.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

check out my other posts, then you'll see why it's not working.

Aniket15
ServiceNow Employee
ServiceNow Employee

@NoBert  There's a known issue , i don't know if it's same as your issue.

Login to any instance
> make sure you have sow Service Operation Workspace - version 4.0 above
> customise SowIncidentLandingPageUtilsSNC and map it to SowIncidentLandingPageUtils
> update the line in the above script from : "defaultSelected": ["your_work"] to : "defaultSelected": ["your_team_work"] .
> Impersonate as an  Agent  and navigate to SOW

Expected behavior: On the landing page overview section we can see the drop down selected to Your team work and data should come from from your team's work selection

Actual behavior: On the landing page overview section we can see the drop down selected to Your team work but data is coming from your work selection

 

Please confirm if this is the issue ? 

 

Raise a case in Hi if above is the issue. 

 

If my answer helped you to resolve the issue please mark helpful/correct.

 

Thanks

Aniket

NoBert
Tera Contributor

Hi @Aniket15 ,

Thank you for your quick response. We are on SOW 4.2. and I've already updates to "defaultSelectes":["your_teams_work"]. The behavior I see is what you stated under Actual Behavior. The drop-down is Your teams work but data is from Your work.

Will open a case at HI.

Thank you,

Norbert