# Workflows: Not Sending email

**URL:** <https://developer.sailpoint.com/discuss/t/workflows-not-sending-email/12166>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, sailpoint-identity-security\
**Created:** [June 12, 2023, 6:01pm UTC](https://developer.sailpoint.com/discuss/t/workflows-not-sending-email/12166 "2023-06-12T18:01:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![krigney](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/krigney/32/772_2.png) [@krigney](https://developer.sailpoint.com/discuss/u/krigney)\
**Post date:** [June 12, 2023, 6:01pm UTC](https://developer.sailpoint.com/discuss/t/workflows-not-sending-email/12166/1 "2023-06-12T18:01:54Z")

</div>

I have created a workflow and it passes everything but it never sends the email. I have attached the json file.

[UpdateandCertifyAccessWhenanIdentityChangesCompanies20230612.json](https://developer.sailpoint.com/discuss/uploads/short-url/pvQmzf9xeferF10PCkX3Dqdq33q.json) (2.4 KB)

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [June 13, 2023, 12:15am UTC](https://developer.sailpoint.com/discuss/t/workflows-not-sending-email/12166/2 "2023-06-13T00:15:49Z")

</div>

Hi Kathy,

I saw one issue with your script that should have prevented this from passing a test run. The step “Get Identity” referenced the identity name, but it should reference the identity ID. This is what it should look like.

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/3/36ebf3bec68e4688dd878a0944136324bef662c8.png)

Once I fixed that, I got a successful run with an email. Can you please share a screenshot demonstrating the successful run? This is what mine looks like.

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/1/115050f2d90b38eada163c32c17aa48ecac2042c.png)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [August 12, 2023, 12:16am UTC](https://developer.sailpoint.com/discuss/t/workflows-not-sending-email/12166/3 "2023-08-12T00:16:26Z")

</div>

Closed on August 12, 2023, 12:16am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
