As a quick fix, you could just clone the Java Action into your own module and modify the code to return nothing instead of a boolean.
I know it’s not quite what you were asking, but it may help solve this problem in the short term.
UPDATE: example executeAction code
// BEGIN USER CODE
Misc.runMicroflowInBackground(getContext(), microflowName, contextObject);
return null;
// END USER CODE
You will also need to make sure Community Commons is still installed, and include the following import statement.
import communitycommons.Misc;
Hi Robert,
I created a new java action with return value set to nothing. The error was gone but when building the app I get a compilation error (Boolean cannot be converted to Void).
Probably you had another solution in mind.. But thanks anyway, I have solved it by making two microflows...
Maybe I did something wrong.. Please advise
I’m not a Java expert so I try to avoid all kind of Java stuff
For anyone reading this now. The solutions here work, but are too difficult.
You might as well put the Java action in its own microflow and just execute that microflow in a queue. That works and takes about 10 seconds to develop.