Can someone translate this Flow Designer error meassge for me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2020 11:22 AM
I'm building a flow that needs to perform the same set of steps from several places, so I put that into a subflow. When tested by itself, the subflow works as expected. When I add the subflow to the main flow it ends up with an error. The error log shows:
Flow Designer: Operation(Request A Change User.If$1.c89e5e291b1828509989da8cbc4bcb16.Manage Add An Approver$2.callSub) failed with error: com.snc.process_flow.exception.OpException: called block 'Request A Change User.If$1.c89e5e291b1828509989da8cbc4bcb16.Manage Add An Approver$2.callSub' failed. Check the context log for exception details.
For reference, the Flow is Request A Change User and the Subflow is Manage Add An Approver. I'm not sure where I can find the context log. Any suggestions, ideas, etc. are gratefully accepted.
:{)
:{)
Helpful and Correct tags are appreciated and help others to find information faster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2020 11:31 AM
Hi Johnfeist,
see this link for checking context log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2020 11:56 AM
Thank you Usmaan,
Unfortunately, the logs just show me what I find in the error log which means nothing to me. Apparently because the error came from the subflow, the go to error button does nothing.
:{)
:{)
Helpful and Correct tags are appreciated and help others to find information faster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2020 12:02 PM
Hi Johnfiest,
Are you running the flow as system user or user who initaties session?
found this KB which may be relevant here
https://hi.service-now.com/kb_view.do?sysparm_article=KB0824489
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2020 12:47 PM
Thank you Usmaan,
I was running it as the user who created the record, which in this case is me and I have all the rights. I changed it to the system user. It still failed but now with this error:
Flow Designer: Operation(Manage Add An Approver.If$1.d79e52691b1828509989da8cbc4bcb43.If$1.1f9e52691b1828509989da8cbc4bcb4c.If$1.9b9e52691b1828509989da8cbc4bcb52.ef9e52691b1828509989da8cbc4bcb7e.5ad05916c31332002841b63b12d3ae63) failed with error: com.snc.process_flow.exception.OpException: Value of field record is not a GlideRecord
The wierd part is that based on how far the subflow gets, I know that the step where it is failing is on a create record where it is to add a row to sys_user_grmember.
:{?
:{)
Helpful and Correct tags are appreciated and help others to find information faster