Hi everyone,
is there a possibility to check the sucess of the execution of the 'Create Folder' Smart Service? In my case I have two input parameters:
And one output:
95% of the time it goes just fine but sometimes it fails to create the folder, myVariable is empty, and the Smart Service just go on as if everything is fine.
In the expression a!createFolder() we have two extra parameters (onSuccess, onError) but they are not available in the smart service.
Thanks
Lionel
Discussion posts and replies are publicly visible
Add a gateway after the node checking for the value of the PV you save the created folder Id into, and if it's null (or zero), divert to an alternate flow.
In case that node fails to create a folder and just continues, I suggest to open a support case with Appian. If it fails, it should just stop.
I agree, but sometimes things don't stop when you'd figure they would. Like if you have a "move document" node and accidentally pass in a folder ID of null, the target document gets moved to "no folder", is still accessible in the system but breaks certain things.
Thanks for your feedback. Indeed that's what I do now but I am not satisfied with this situation, if it's an error it should be handled as an error.
Thanks, I'll open a case then.
I agree with opening a support case, but I'm also curious why the folder wouldn't be getting created. Have you checked the logs to see if there is an error for why it couldn't be created?
Hi Peter,
thanks for your interest. I added two screen captures, I hope it could help to answer. If not, what log would you suggest to see more details?
In the overview we can see the 'Create Folder' going just fine (of course there is an error later because we use the paramater as an input)
In the details we can see that it's considered as OK but without a value ("Changed to [null]")