Sailpoint Workflow HTTP request with dynamic query parameters
Problem
A workflow HTTP request to {{baseUrl}}/access-request-status?filters=accessRequestId eq "" fails with a 400 error when attempting to dynamically add the accessRequestId query parameter. Hardcoding values with spaces also fails, and percent-encoding ignores parameters.
Solution / Workaround
Use an inline JSONPath variable in the parameter value field. Set the Request URL to https://<tenant>.api.identitynow.com/v2024/access-request-status, the Parameter key to filters, and the Parameter value to accessRequestId eq "{{$.defineVariable.reqid}}". No manual URL encoding is needed.