Jeremy Posted August 15, 2022 Share Posted August 15, 2022 So we are getting an email sent to us from a system which includes the username of the customer. I can extract this from the email and put in to custom field A but when we have the node to update the customer it is not wanting to change the customer, when I output the result of the node for changing customer it says 'false'. This is the node for the customer update (variable is - &[global["flowcoderefs"]["getReqInformation"]["customFieldA"]]): In the timeline we display the username using the data from custom A: The email looks like this: Link to comment Share on other sites More sharing options...
Jeremy Posted August 15, 2022 Author Share Posted August 15, 2022 For context you can change this manually, so this user has access to the service etc. Link to comment Share on other sites More sharing options...
ArmandoDM Posted August 15, 2022 Share Posted August 15, 2022 Hi @Jeremy that variable needs to be the ID of the customer rather than the username. Can you double check that what you pass is the ID ? Regards Armando Link to comment Share on other sites More sharing options...
Jeremy Posted August 15, 2022 Author Share Posted August 15, 2022 @ArmandoDM is this the User ID in the customers details? Also we use this no problem with the user selector in PCFs using the Username from the selection. So we assume that the username is the way to go as our User ID, Logon ID and Employee ID are the same, the customers username. Link to comment Share on other sites More sharing options...
Steve Giller Posted August 15, 2022 Share Posted August 15, 2022 1 hour ago, Jeremy said: Also we use this no problem with the user selector in PCFs using the Username from the selection. This suggests that whatever is being extracted from the email is not exactly the same as what is presented by the Capture. The most likely culprit in cases like this is a space, as they are all but invisible to the naked eye. Link to comment Share on other sites More sharing options...
Jeremy Posted August 15, 2022 Author Share Posted August 15, 2022 45 minutes ago, Steve Giller said: The most likely culprit in cases like this is a space @Steve Giller yup that was it....doh! Sorry this morning hasn't gone as planned shall I say Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now