How to add an approval table to the related list

Saeka
Kilo Sage

Hello,

 

I would like to add an approval [sysapproval_approver] table to the related list of patch [cmdb_ci_patches] table.

I have created a flow and an approval record has been created, but I cannot get it to appear in the patch table.

IzakiSaeka_0-1690962047722.png

 

Can you please tell me how to do this?

1 ACCEPTED SOLUTION

nameisnani
Mega Sage

Hi @Saeka 

 

To add an approval table to the related list of a patch table, you need to do the following:

  1. Create a new related list in the patch table.
  2. Set the related list to point to the sysapproval_approver table.
  3. Enable the related list.

Here are the steps in more detail:

  1. Go to the patch table and click on the "Related Lists" tab.
  2. Click on the "Create Related List" button.
  3. In the "Related List Name" field, enter a name for the related list.
  4. In the "Related Table" field, select the sysapproval_approver table.
  5. Click on the "Save" button.

The new related list will now be created. To enable it, you need to go to the "Related Lists" tab and click on the "Enable" checkbox next to the new related list.

Once the related list is enabled, it will appear in the patch table. You can then add approvals to the patch by clicking on the "Add Approval" button.

If you have created a flow and an approval record has been created, but you cannot get it to appear in the patch table, it is likely that the flow is not configured correctly.

To troubleshoot this issue, you can check the following:

  • Make sure that the flow is triggered when a patch is created or updated.
  • Make sure that the flow is setting the correct values in the sysapproval_approver table.
  • Make sure that the sysapproval_approver table is enabled in the patch table.

If you have checked all of these things and you are still having problems, you can contact ServiceNow support for help.

View solution in original post

1 REPLY 1

nameisnani
Mega Sage

Hi @Saeka 

 

To add an approval table to the related list of a patch table, you need to do the following:

  1. Create a new related list in the patch table.
  2. Set the related list to point to the sysapproval_approver table.
  3. Enable the related list.

Here are the steps in more detail:

  1. Go to the patch table and click on the "Related Lists" tab.
  2. Click on the "Create Related List" button.
  3. In the "Related List Name" field, enter a name for the related list.
  4. In the "Related Table" field, select the sysapproval_approver table.
  5. Click on the "Save" button.

The new related list will now be created. To enable it, you need to go to the "Related Lists" tab and click on the "Enable" checkbox next to the new related list.

Once the related list is enabled, it will appear in the patch table. You can then add approvals to the patch by clicking on the "Add Approval" button.

If you have created a flow and an approval record has been created, but you cannot get it to appear in the patch table, it is likely that the flow is not configured correctly.

To troubleshoot this issue, you can check the following:

  • Make sure that the flow is triggered when a patch is created or updated.
  • Make sure that the flow is setting the correct values in the sysapproval_approver table.
  • Make sure that the sysapproval_approver table is enabled in the patch table.

If you have checked all of these things and you are still having problems, you can contact ServiceNow support for help.