Can someone translate this Flow Designer error meassge for me?

johnfeist
Mega Sage
Mega Sage

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.

:{)

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster
6 REPLIES 6

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.

:{)

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

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

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.

:{?

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster