unable to open subflow context

Balamurugan R2
Tera Contributor

when I am trying to open the subflow context from main flow, getting below error in subflow context page.

 

Exception while executing request: Cannot invoke "com.snc.process_flow.v2.model.structure.FlowElement.getType()" because the return value of "com.snc.process_flow.v2.model.structure.FlowStructureExpert.getFlowElementForSourceAlias(String)" is null

 

BalamuruganR2_0-1738600787954.png

 

3 REPLIES 3

Savan
Tera Contributor

This happens when one of the flow actions is not able to get inputs properly. My guess is you have an email action which is not getting the value of email address properly. Try removing it from the flow and testing the flow again. Alternatively, if you look into the flow engine context for the execution of that flow you will be able to find the action where the error is happening. Once you fix/remove the action , this should be fixed. 

 

Medi C
Giga Sage

Hi @Balamurugan R2,

It looks like your subflow does not set an output which is mandatory.

could you please check on that?


If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.

Are you sure subflow outputs are mandatory? I have several subflows I've created that all accomplish a specific set of tasks without returning any output. In each of those subflows they're all recieving inputs but not returning any output since no output is needed in those cases.