Hello fellow Sailors,
I am encountering an issue when using the scheduled search trigger in an IdentityNow (IDN) workflow. The workflow is intended to use a saved search (which I have created a subscription for) as the trigger for the scheduled search. The search successfully returns a set of identities, and the workflow is supposed to:
- Trigger based on the scheduled search.
- Retrieve the identities from the search result.
- Call our HRIS API.
- Send an email to the IAM team.
While the scheduled trigger appears to initiate the workflow, the identities returned from the search are not being recognized by the “Get Identity” action in the workflow. As a result, the workflow is not able to process the identities as expected.
Could you please advise on how I can ensure that the identities returned from the scheduled search (which triggers the workflow) are correctly recognized and processed within the workflow?
Per the workflow execution logs, here’s a snippet of the error I get:
Here’s the error message I get when the workflow is triggered:
{"input":{"_meta":{"invocationId":"dfsdfsd-b78c-sdfsdf-b43b-sdfsdfsdf","subscriptionId":"sdd-d4f7-4dfdf-adbc-sdfsd","triggerType":"FIRE_AND_FORGET"},"fileName":"Search Export.2024-08-19 15'01 GMT","ownerEmail":"myemail@company.com","ownerName":"John","query":"attributes.compareHireDateAndNow:TRUE AND attributes.compareHireDateAndPast7Days:TRUE","searchName":"Hire Date Within 7 Days","searchResults":}
{"attempts":1,"displayName":"Get Identity","stepName":"getIdentity","task":"sp:get-identity"}
{"displayName":"Get Identity","error":"request failed: 404 - 404 Not Found: ","stepName":"getIdentity","task":"sp:get-identity"}
{"error":"task failed: activity error (type: sp:internal:http, scheduledEventID: 5, startedEventID: 6, identity: dfdsfsf-1135-4b3f-bd1e-sdfsdf): request failed: 404 - 404 Not Found: (type: HTTP Response Returned a Client Error, retryable: false): request failed: 404 - 404 Not Found (type: fundamental, retryable: true)"}
