Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

if incident is created or updated then the updated/created time should be displayed on user profile

Nirupama Reddy
Tera Contributor

if any incident is created or updated then the updated/created time should be displayed on user profile who has created/updated the incident. 

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Nirupama Reddy 

 

I added the Related list in the user profile and I can see all the required fields:

 

AGLearnNGrow_0-1724938042076.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Nirupama Reddy
Tera Contributor

Hi @Dr Atul G- LNG , 

Thanks for your response. The requirement which I am working on different. It is not about the adding related list. Here is the detailed requirement. Please let me know if you have any solution. 

 

GIVEN I am administrator
WHEN 'ServiceNow License Cleanup - BCM' is triggered
THEN it should perform the following when triggered:

1. Evaluate all of the users that have the following roles AND where the Role was granted to them >90 days ago:

  • sn_bcm.admin
  • sn_bcm.contributor
  • sn_bcm_contributor
  • sn_bcm.core_viewer
  • sn_bcm.planner
  • sn_bcm.program_manager
  • sn_bcm.recovery_team_member
  • sn_bcm.viewer
  • sn_bcp.plan_viewer
  • sn_bia.bia_contributor
  • sn_bia.bia_viewer
  • sn_crisis_ebn.viewer
  • sn_recovery.event_member
  • sn_recovery.event_viewer

2. Evaluate if the user is the Created By or Updated By user of the following Tables in the past 3 months:

  • BCM Choice [sn_bcm_choice]
  • Documentation Section [sn_bcm_document]
  • Element Definition [sn_bcm_element_definition]
  • Element variable [sn_bcm_element_variable]
  • Grid configuration [sn_bcm_grid_configuration]
  • Grid column configuration [sn_bcm_grid_column_configuration]
  • Impact analysis question [sn_bcm_impact_analysis_question]
  • Impact Category[sn_bcm_impact_category]
  • Impact Rating [sn_bcm_impact_rating]
  • Loss Scenario [sn_bcm_loss_scenario]
  • Recovery Tier [sn_bcm_recovery_tier]
  • Recovery Timeframe [sn_bcm_timeframe]
  • Recovery Tasks [sn_bcp_recovery_task]
  • Related Plan [sn_bcp_plan_plan]
  • Plan Documentation [sn_bcp_document]
  • Plan [sn_bcp_plan]
  • Plan Assets [sn_bcp_plan_asset]
  • Related Asset Dependency [sn_bcp_plan_asset_dependency]
  • Plan Loss Scenario [sn_bcp_plan_loss_scenario]
  • Plan Task [sn_bcp_plan_task]
  • Recovery Strategy [sn_bcp_recovery_strategy]
  • Recovery Team [sn_bcp_recovery_team]
  • Plan Template [sn_bcp_template]
  • Dependency report source [sn_bia_dependency_report_source]
  • Impact Analysis [sn_bia_analysis]
  • Impact Category Result [sn_bia_category_result]
  • Dependency [sn_bia_dependency]
  • Impact Dependency Group [sn_bia_dependency_group]
  • Result [sn_bia_result]
  • BIA Template [sn_bia_template] Score timeframe mapping [sn_bia_score_timeframe_mapping]
  • Activated Plan [sn_recovery_activated_plan]
  • Event [sn_recovery_event]
  • Event Assets [sn_recovery_event_asset]
  • Event Task [sn_recovery_event_task]
  • Impacted Asset to Activated Plan [sn_recovery_impacted_asset_to_activated_plan]
  • Approval [sn_recovery_approval]
  • Approval Configuration [sn_grc_appr_approval_configuration]
  • Approval Level [sn_grc_appr_approval_level]
  • Approval Rule [sn_grc_appr_approval_rule]

3. If they are not, then remove them from all of the following Groups:

  • BCM Administrator
  • BCM Contributor
  • BCM Contributor
  • BCM Core Viewer
  • BCM Planner
  • BCM Program Manager
  • BCM Recovery Team Member
  • BCM Viewer
  • BCP Plan Viewer
  • BIA Contributor
  • BIA Viewer
  • Crisis Viewer
  • GRC Approval Config. Admin
  • GRC Approver
  • Recovery Event Member
  • Recovery Event Viewer

 

 

Hi @Nirupama Reddy 

 

I am not a developer, but you these can be done 

- Lets do manually

 - Create a report of the section 1 which provide you a list

For 2nd, i think you need to create metric for these tables , where you will capture that is these user changes / updated any thing in these table

and compare 1 and 2 sectrion results

for 3, create flow and remove user

 

Not an easy but need to do in parts.

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************