Workflow Studio Flow Messages to User

Alan42
Tera Guru

We have a working integration spoke between ServiceNow and our ERP system.    The current flow I'm building out allows a user to submit an incident for an ERP password reset.  The flow is working, users are getting their new passwords, and the response body confirming the successful password change populates the incident as an additional comment.    The problem is that I get two false additional comments stating 'Password reset action failed or returned no response.'  Is there a way to stop these or get them to come across as a work note that isn't visible to the user?     

 

Alan42_0-1739482390450.png

 

 

 

1 ACCEPTED SOLUTION

Found the issue in the business rule that kicks off the flow when the incident is submitted.    Had to remove the insert and update checks.     Thanks again.  You got me looking in different directions.    

 

Alan42_0-1739546753693.png

 

View solution in original post

3 REPLIES 3

Mark Manders
Mega Patron

Check on the spoke. There is a script of flow that is updating the comments. You need to adjust the logic there so certain messages aren't set as comment, but as work note. 

You don't mention which spoke you are using or with which ERP you are integrating, so there is not much more to guide you than you need to check on the flow/scripts that are handling this integration.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Found the issue in the business rule that kicks off the flow when the incident is submitted.    Had to remove the insert and update checks.     Thanks again.  You got me looking in different directions.    

 

Alan42_0-1739546753693.png

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Alan42 

how are you integrating?

Are you consuming some endpoint or using ERP Canvas?

Did you debug the flow? which component is adding that message?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader