# Scheduled Search trigger in workflow

**URL:** <https://developer.sailpoint.com/discuss/t/scheduled-search-trigger-in-workflow/13667>\
**Category:** SHF Discussion and Questions\
**Tags:** sailpoint-identity-security\
**Created:** [June 30, 2023, 12:10am UTC](https://developer.sailpoint.com/discuss/t/scheduled-search-trigger-in-workflow/13667 "2023-06-30T00:10:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdisharmaOz](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/adisharmaoz/32/17734_2.png) [@AdisharmaOz](https://developer.sailpoint.com/discuss/u/AdisharmaOz)\
**Post date:** [June 30, 2023, 12:10am UTC](https://developer.sailpoint.com/discuss/t/scheduled-search-trigger-in-workflow/13667/1 "2023-06-30T00:10:35Z")

</div>

Hi experts - I am looking to use a saved search in IDN to use in our workflow and then use it to invoke an http request to another system to update the profile. I read the doco [Triggers - SailPoint Identity Services](https://documentation.sailpoint.com/saas/help/workflows/workflow-triggers.html#scheduled-search) - but the example is not very clear. hence not very sure on how to refer the json path for my search/scheduled queries in it, for eg if I have a simple query who is retuning users based on email like [attributes.email:"aditya.sharma@xyz.com](mailto:attributes.email:%22aditya.sharma@xyz.com)" - I have saved this query as “email search” - then how to refer it in the “scheduled search” trigger.  
Any pointers towards it will be really appreciated.

---

<div class="post-metadata">

**Author:** ![aditya\_pathak](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/aditya_pathak/32/2758_2.png) [@aditya\_pathak](https://developer.sailpoint.com/discuss/u/aditya_pathak)\
**Post date:** [June 30, 2023, 1:55am UTC](https://developer.sailpoint.com/discuss/t/scheduled-search-trigger-in-workflow/13667/2 "2023-06-30T01:55:08Z")

</div>

Not sure if you have already done this but you need to create a subscription of the saved search and enter scheduling details -  
 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/9/94440df8d1e5f188034d63824b1c37c795a35fa0.png)

Then you should be able to use it in workflow

---

<div class="post-metadata">

**Author:** ![AdisharmaOz](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/adisharmaoz/32/17734_2.png) [@AdisharmaOz](https://developer.sailpoint.com/discuss/u/AdisharmaOz)\
**Post date:** [June 30, 2023, 4:02am UTC](https://developer.sailpoint.com/discuss/t/scheduled-search-trigger-in-workflow/13667/3 "2023-06-30T04:02:01Z")

</div>

Thanks @aditya_pathak for the reply - I have done it already, what I am not getting is putting the same subscription as a JSON expression in the “Scheduled Search” trigger -

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/9/942e976390732c7353ef4dceda6ea3c0ca4ffb56.png)

The doco gives an example which does not gives much info though - [Triggers - SailPoint Identity Services](https://documentation.sailpoint.com/saas/help/workflows/workflow-triggers.html#scheduled-search)

---

<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 29, 2023, 4:02am UTC](https://developer.sailpoint.com/discuss/t/scheduled-search-trigger-in-workflow/13667/4 "2023-08-29T04:02:29Z")

</div>

Closed on August 29, 2023, 4:02am UTC

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