Error in Flow: 'cellNode' is null

nishad_now
Tera Expert

We are encountering the following error, in one of the flows we've built, at the "Get Catalog Variables" step: "Cannot invoke 'getVariableName()' because 'cellNode' is null"

 

Observations/Context:

  • We suspect this is related to MRVS (Multi-Row Variable Set) data, which is part of the variable that the "Get Catalog Variables" step tries to access.
  • The issue does not occur every time—it is only with certain MRVS data set and for a particular flow that it occurs. We are able to replicate this issue in a lower environment.
  • Temporary resolution: We recreated the subflow where this error was occuring and also added a 15-second wait timer before this step on the parent workflow, and the error has not occurred since, suggesting the variables or MRVS data may not be fully generated or available when the step runs too quickly.

Questions: 

a) Has anyone encountered this specific error before? 

b) Does anyone have insight into what might cause the cellNode to be null at this step, or suggestions for a more robust solution?

 

Thank you!

2 REPLIES 2

J Siva
Tera Sage

Hi @nishad_now 
In your varibale set / catalog item are you using AJAX scripts in the client script/UI policy to populate the MRVS values?
Regards,
Siva

Ankur Bawiskar
Tera Patron
Tera Patron

@nishad_now 

I suspect by the time your Get Catalog Variables Flow action runs, the data is not yet mapped in the backend table with your RITM.

Hence with timer it works fine.

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