I have created a flow following the Create a new flow from the PVA authoring canvas documentation.
However, when I try and call that flow from within a topic the following Javascript error is printed out into my console:
main.f2e83a4c.js:2 Uncaught TypeError: Cannot read property 'slice' of null
at l (main.f2e83a4c.js:2)
at f (main.f2e83a4c.js:2)
at at (main.f2e83a4c.js:2)
at main.f2e83a4c.js:2
at Array.map (<anonymous>)
at b (main.f2e83a4c.js:2)
at S (main.f2e83a4c.js:2)
at v.t.createActionNodeContent (main.f2e83a4c.js:2)
at Object.onItemSelected (main.f2e83a4c.js:2)
at o.createElement.o.createElement.onClick (main.f2e83a4c.js:2)
The code itself have been minified so I cannot provide any further guidance on the exact part that is failing, the best I can do is find this:
, l = function(e) {
if (!Object(r.isNonEmpty)(e))
throw new Error(" Input is null, empty, or undefined. ");
var t = e.match(c).slice(1).filter(r.isNonEmpty); // this is the line that is breaking
if (!Object(r.isNonEmptyImmutableArray)(t))
throw new Error(" String inputted does not match regex pattern. ");
return t
I have tried the following:
- Creating multiple different flows (some complex ((email integration), some very basic ((just outputting a hard coded value)))
- Different browsers
- Moving the flow out of the Default solution
- Incognito/Private mode
- Disabling all browser extensions
Is this a known issue - is there somewhere more appropriate that I should be posting this?