Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2023 04:26 PM
Here is the script step of the action:
(function execute(inputs, outputs) {
try {
var r = new sn_ws.RESTMessageV2('Okta', 'Create User');
r.setStringParameterNoEscape('lastName', inputs.lastName);
r.setStringParameterNoEscape('password', inputs.password);
r.setStringParameterNoEscape('email', inputs.email);
r.setStringParameterNoEscape('firstName', inputs.firstName);
r.setStringParameterNoEscape('login', inputs.login);
var response = r.execute();
outputs.httpStatus = response.getStatusCode();
outputs.responseBody = response.getBody();
}
catch(ex) {
var message = ex.message;
}
})(inputs, outputs);And here is the output variables
And now that I'm posting this I think I see the problem.... My code uses the capitalization in the label. Is the label what I should be using in the code? OR should I be using the name which doesnt have the capitalization?