# Is it possible to trigger Connector Rule (ConnectorAfterModify/AfterCreate) or PS Script directly from Workflows in IDN

**URL:** <https://developer.sailpoint.com/discuss/t/is-it-possible-to-trigger-connector-rule-connectoraftermodify-aftercreate-or-ps-script-directly-from-workflows-in-idn/4046>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, sailpoint-identity-security\
**Created:** [April 29, 2022, 5:37pm UTC](https://developer.sailpoint.com/discuss/t/is-it-possible-to-trigger-connector-rule-connectoraftermodify-aftercreate-or-ps-script-directly-from-workflows-in-idn/4046 "2022-04-29T17:37:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yeswanthg](https://avatars.discourse-cdn.com/v4/letter/y/5f8ce5/32.png) [@Yeswanthg](https://developer.sailpoint.com/discuss/u/Yeswanthg)\
**Post date:** [April 29, 2022, 5:37pm UTC](https://developer.sailpoint.com/discuss/t/is-it-possible-to-trigger-connector-rule-connectoraftermodify-aftercreate-or-ps-script-directly-from-workflows-in-idn/4046/1 "2022-04-29T17:37:08Z")

</div>

Hi,

Is it possible to trigger a Connector rule from Workflows based on Event Trigger (attribute changes) and Rule would further call PS script.

Or

Any direct way to call PS script from Workflow instead of calling rule !

Thanks in Advance.

---

<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:** [May 4, 2022, 7:15pm UTC](https://developer.sailpoint.com/discuss/t/is-it-possible-to-trigger-connector-rule-connectoraftermodify-aftercreate-or-ps-script-directly-from-workflows-in-idn/4046/2 "2022-05-04T19:15:20Z")

</div>

Hi Yeswanth,

At this time there is no way for Workflows to interact with connectors or rules.

---

<div class="post-metadata">

**Author:** ![Yeswanthg](https://avatars.discourse-cdn.com/v4/letter/y/5f8ce5/32.png) [@Yeswanthg](https://developer.sailpoint.com/discuss/u/Yeswanthg)\
**Post date:** [May 4, 2022, 7:39pm UTC](https://developer.sailpoint.com/discuss/t/is-it-possible-to-trigger-connector-rule-connectoraftermodify-aftercreate-or-ps-script-directly-from-workflows-in-idn/4046/3 "2022-05-04T19:39:34Z")

</div>

Thanks for the response @colin_mckibben  
How about calling a PowerShell Script directly from Workflows with no rule based on some Identity attribute change?

In our use case we have to do a lot of workaround to trigger the PowerShell from IDN right now.  
High level : Need to have a dedicated ID attribute, Enable Attribute sync on AD, Trigger ModifyAfterRule when Account Modified , Rule would trigger PS script from IQServer.

---

<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:** [May 4, 2022, 7:43pm UTC](https://developer.sailpoint.com/discuss/t/is-it-possible-to-trigger-connector-rule-connectoraftermodify-aftercreate-or-ps-script-directly-from-workflows-in-idn/4046/4 "2022-05-04T19:43:11Z")

</div>

To clarify, there is no native way to interact with connectors/rules from Workflows. You could create a custom web service that you can invoke from workflows using the HTTP action. This web service could theoretically have the necessary functionality to interact with connectors and rules.

---

<div class="post-metadata">

**Author:** ![Yeswanthg](https://avatars.discourse-cdn.com/v4/letter/y/5f8ce5/32.png) [@Yeswanthg](https://developer.sailpoint.com/discuss/u/Yeswanthg)\
**Post date:** [May 4, 2022, 8:09pm UTC](https://developer.sailpoint.com/discuss/t/is-it-possible-to-trigger-connector-rule-connectoraftermodify-aftercreate-or-ps-script-directly-from-workflows-in-idn/4046/5 "2022-05-04T20:09:28Z")

</div>

Yep. We thought of same option but just wanted to double check all options before we finalize the approach.

---

<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:** [July 19, 2023, 2:23pm UTC](https://developer.sailpoint.com/discuss/t/is-it-possible-to-trigger-connector-rule-connectoraftermodify-aftercreate-or-ps-script-directly-from-workflows-in-idn/4046/6 "2023-07-19T14:23:00Z")

</div>


