Fill in risk assessment for change via flow

joshmorris
Tera Guru

Hi,

 

Following on from my other question, is it possible to fill in a risk assessment on a change via a flow.

3 ACCEPTED SOLUTIONS

AbinC
Tera Contributor

Hi @joshmorris ,

 

Yes, it is possible to automate the process of filling in a risk assessment on a change request using a flow in ServiceNow. This can be achieved by creating a Flow Designer flow or a Workflow that evaluates certain criteria and updates the risk assessment fields accordingly.

Steps to Automate Risk Assessment Using Flow Designer

  1. Access Flow Designer:

    • Navigate to Flow Designer in ServiceNow. You can find it by typing "Flow Designer" in the application navigator.
  2. Create a New Flow:

    • Click on "New" to create a new flow.
    • Give your flow a meaningful name, such as "Automate Change Risk Assessment."
  3. Define the Trigger:

    • Set the trigger for the flow. This could be when a change request is created or updated.
    • You can specify conditions for the trigger, such as specific fields being updated or certain criteria being met.
  4. Add Actions:

    • Use actions to evaluate the risk factors. You might need to use logic such as decision tables or script actions to assess risk based on predefined criteria.
    • For example, you can check the impact, urgency, or other fields in the change request to determine the risk level.
  5. Update Risk Assessment Fields:

    • Add an action to update the risk assessment fields in the change request record.
    • Use the "Update Record" action to set the risk level based on the evaluation.
  6. Test the Flow:

    • Test the flow in a development or sandbox environment to ensure it correctly assesses risk and updates the change request.
  7. Deploy the Flow:

    • Once tested and verified, activate the flow to deploy it in your production environment.                                 if you found it helpful please mark it as helpful and accept the solution

View solution in original post

ifti122
Tera Guru

Hi @joshmorris ,

Yes, it is absolutely possible to fill in a risk assessment on a change via a flow, though it requires understanding how risk assessments work in ServiceNow.

Risk assessments in ServiceNow are typically handled in one of two ways:

  1. Automated Risk Calculation (Scripts/Workflows/Flows): Where a script or workflow/flow calculates a risk score based on certain fields on the change request.

  2. Manual Assessment (Questionnaires): Where users answer a series of questions, and the answers contribute to a risk score.

Assuming you're referring to setting values that influence the Automated Risk Calculation or directly setting the risk fields:

Here's how you can approach it in a Flow Designer flow:

  1. Trigger: Your flow is still triggered by the request, or you could have a separate subflow that gets called.

  2. Create/Update Change Request: Ensure your Change Request is created or updated.

  3. Update Record Action (for Risk Fields):

    • You'll need an "Update Record" action targeting your Change Request.

    • Table: Change Request [change_request]

    • Record: The Change Request created/updated earlier.

    • Fields to Update:

      • risk: This is usually a calculated field, but if you have direct control over it, you can set it.

      • impact: Set based on conditions from the original request.

      • urgency: Set based on conditions from the original request.

      • priority: This is typically calculated from impact and urgency.

      • Custom Risk Assessment Fields: If your risk assessment uses specific custom fields (e.g., u_data_impact, u_system_criticality), you can set these values based on the data from your original request.

     

Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.

View solution in original post

Bhuvan
Kilo Patron

@joshmorris 

 

Yes it is possible to use Flow Designer for Risk Assessment - Change Request module.

 

https://www.servicenow.com/docs/bundle/zurich-it-service-management/page/product/change-management/c...

 

Change Risk Calculator uses predefined properties and conditions to calculate a risk value.

Change Management - Risk Assessment uses information provided by the end user to assess a risk value.

 

Below is the Script Includes used for Risk Assessment

Bhuvan_0-1757411056833.png

You can develop Flow, Subflow and Actions to create Risk Assessment and it is technically doable. But check whether you really want to go down that path and ask why, when out of box logic works just fine and if needed you can use Risk Assessment Calculation based on user inputs.

 

What benefits you gain on doing this via Flow as it will only create technical debt and do not see any significant advantages of doing this.

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

View solution in original post

3 REPLIES 3

AbinC
Tera Contributor

Hi @joshmorris ,

 

Yes, it is possible to automate the process of filling in a risk assessment on a change request using a flow in ServiceNow. This can be achieved by creating a Flow Designer flow or a Workflow that evaluates certain criteria and updates the risk assessment fields accordingly.

Steps to Automate Risk Assessment Using Flow Designer

  1. Access Flow Designer:

    • Navigate to Flow Designer in ServiceNow. You can find it by typing "Flow Designer" in the application navigator.
  2. Create a New Flow:

    • Click on "New" to create a new flow.
    • Give your flow a meaningful name, such as "Automate Change Risk Assessment."
  3. Define the Trigger:

    • Set the trigger for the flow. This could be when a change request is created or updated.
    • You can specify conditions for the trigger, such as specific fields being updated or certain criteria being met.
  4. Add Actions:

    • Use actions to evaluate the risk factors. You might need to use logic such as decision tables or script actions to assess risk based on predefined criteria.
    • For example, you can check the impact, urgency, or other fields in the change request to determine the risk level.
  5. Update Risk Assessment Fields:

    • Add an action to update the risk assessment fields in the change request record.
    • Use the "Update Record" action to set the risk level based on the evaluation.
  6. Test the Flow:

    • Test the flow in a development or sandbox environment to ensure it correctly assesses risk and updates the change request.
  7. Deploy the Flow:

    • Once tested and verified, activate the flow to deploy it in your production environment.                                 if you found it helpful please mark it as helpful and accept the solution

ifti122
Tera Guru

Hi @joshmorris ,

Yes, it is absolutely possible to fill in a risk assessment on a change via a flow, though it requires understanding how risk assessments work in ServiceNow.

Risk assessments in ServiceNow are typically handled in one of two ways:

  1. Automated Risk Calculation (Scripts/Workflows/Flows): Where a script or workflow/flow calculates a risk score based on certain fields on the change request.

  2. Manual Assessment (Questionnaires): Where users answer a series of questions, and the answers contribute to a risk score.

Assuming you're referring to setting values that influence the Automated Risk Calculation or directly setting the risk fields:

Here's how you can approach it in a Flow Designer flow:

  1. Trigger: Your flow is still triggered by the request, or you could have a separate subflow that gets called.

  2. Create/Update Change Request: Ensure your Change Request is created or updated.

  3. Update Record Action (for Risk Fields):

    • You'll need an "Update Record" action targeting your Change Request.

    • Table: Change Request [change_request]

    • Record: The Change Request created/updated earlier.

    • Fields to Update:

      • risk: This is usually a calculated field, but if you have direct control over it, you can set it.

      • impact: Set based on conditions from the original request.

      • urgency: Set based on conditions from the original request.

      • priority: This is typically calculated from impact and urgency.

      • Custom Risk Assessment Fields: If your risk assessment uses specific custom fields (e.g., u_data_impact, u_system_criticality), you can set these values based on the data from your original request.

     

Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.

Bhuvan
Kilo Patron

@joshmorris 

 

Yes it is possible to use Flow Designer for Risk Assessment - Change Request module.

 

https://www.servicenow.com/docs/bundle/zurich-it-service-management/page/product/change-management/c...

 

Change Risk Calculator uses predefined properties and conditions to calculate a risk value.

Change Management - Risk Assessment uses information provided by the end user to assess a risk value.

 

Below is the Script Includes used for Risk Assessment

Bhuvan_0-1757411056833.png

You can develop Flow, Subflow and Actions to create Risk Assessment and it is technically doable. But check whether you really want to go down that path and ask why, when out of box logic works just fine and if needed you can use Risk Assessment Calculation based on user inputs.

 

What benefits you gain on doing this via Flow as it will only create technical debt and do not see any significant advantages of doing this.

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan