
ServiceNow - Get User by Username or Email
This atomic belongs to the ServiceNow atomic group.
Fetches information about a user from ServiceNow by their username or email address.
Target: ServiceNow integration target or an HTTP Endpoint for "your-tenant.service-now.com" with a path of "/api"
Account Key: None if using an integration-provided target, HTTP Basic Authentication for an HTTP Endpoint target
Steps:
[] Check if a username or email address was provided (if not, end the workflow)
[] Build the query string
[] Get the user
[] Check if the request was successful:
[]> If it was, extract the user details and set the output variables
[]> If it wasn't, output an error
More information about this API: https://www.servicenow.com/docs/bundle/xanadu-api-reference/page/integrate/inbound-rest/concept/c_TableAPI.html