Account Aggregation Failed Notification Workflow


:spiral_notepad: Description Workflow template to Send email when an account aggregation fails
:balance_scale: Legal Agreement By using this CoLab item, you are agreeing to SailPoint’s Terms of Service for our developer community and open-source CoLab.
:hammer_and_wrench: Repository Link GitHub - Account Aggregation Failed Notification
:open_book: New to Workflows in the CoLab? Read the getting started guide for Workflows in the CoLab.
:hospital: Supported by Community Developed

Overview

This simple workflow will send an email notification when account aggregation fails

Requirements

You must have an Identity Now tenant with the Workflows feature enabled.

Guide

This workflow sends out an email notification to the Source Administrator whenever aggregation fails.

Please modify the Source Name and Recipient Email address in the workflow after importing it into your tenant.


To learn how to download and install workflow files, please read this guide.

1 Like

HI Sharvari,

I tried the workflow with Error variable and able to get notification.

Can we get notifications for warning? I tried like below and not getting notifications, can you let me know if that feasible or not.

Yes, you can. For warnings also the status will be Success and hence it didn’t work for you for above example. Please refer to the sample response from trigger. For warnings you need to check $.trigger.warnings

{
    "source":{
        "id":"4e4d982afddff4267ab12f0f1e72b5e6d",
        "name":"Corporate Active Directory",
        "type":"SOURCE"
    },
    "status":"Success",
    "started":"2020-06-29T22:01:50.474Z",
    "completed":"2020-06-29T22:02:04.090Z",
    "errors":[

    ],
    "warnings":[
        "Account skipped"
    ],
    "stats":{
        "scanned":200,
        "unchanged":190,
        "changed":6,
        "added":4,
        "removed":3
    }
}
1 Like

I even tried with $.trigger.warnings and it didn’t work for me.

It will not work because you are comparing the wrong values, status will not be same as warnings anytime. Kindly go through documentation for workflows to understand how these trigger, actions and operators work. Thank you!

1 Like