workflow

Prati123
Tera Contributor

Does the 'Approval-group' block in workflow always trigger the oob approval notification? I want it to trigger custom approval notification in the approval group box. how to configure this? basically I have 3 level approval in sequential order so approval block is easy to configure as it has approve/reject output.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Prati123 

yes whenever you use "User Approval" or "Group Approval" activity in workflow it basically creates record into sysapproval_approver table

Then system triggers the OOTB notification "Approval Request" on that table.

If you want to send custom approval notification then do this

1) in advanced notification condition of "Approval Request" ensure it doesn't trigger for your Table record, example if it's RITM then check the catalog item name

2) create new notification on sysapproval_approver table with your table condition

AnkurBawiskar_0-1752043773510.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Roshan Tiwari
Tera Guru

Hi @Prati123 ,

 

Yes, it is possible. Let me try to explain how its work OOTB then you will get some idea to customize it.

 

1 - Approval Notification get triggered from Standard Notification table.

2 - You can navigate to Notification table and check lists with filters table="sysapproval_approver".

3 - You will find Some OOTB notification for user and group-based approval.

4 - Like as same as that you try copying OOTB Notification.

5 - Try to create your own and apply only those conditions in when to try which is satisfying your conditions.

6 - If you are not able to apply filter you event based fired or advanced notification conditions (with this you will be successful).

7 - And test it until you are not happy with your Implementation.

8 - If any duplicate notification will be triggered for the same you can modify those existing notification as per your choice to remove it for your matched conditions.

 

Please let me know if you need any help, try above steps. 

Hi @Prati123 ,

 

If my answer is helpful kindly mark accept.

Ankur Bawiskar
Tera Patron
Tera Patron

@Prati123 

yes whenever you use "User Approval" or "Group Approval" activity in workflow it basically creates record into sysapproval_approver table

Then system triggers the OOTB notification "Approval Request" on that table.

If you want to send custom approval notification then do this

1) in advanced notification condition of "Approval Request" ensure it doesn't trigger for your Table record, example if it's RITM then check the catalog item name

2) create new notification on sysapproval_approver table with your table condition

AnkurBawiskar_0-1752043773510.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader