Hi there, I am trying to create an expression rule that returns true if a document is not null, and has an ID attached to it. The expression rule is used to determine an XOR node to go to the document deletion node to delete the document if it exists, or to move to the end node if it has already been deleted. Right now, I am using a plugin isObjectExists() and it does work correctly but my supervisor wants me to improve the code to not use that plugin, any ideas for what to do?Here is the expression rule I created, it currently works how I want it to but I want to avoid using the plugin, any help is appreciated!
Discussion posts and replies are publicly visible
Multiple threads on this topic:
I also shared my own utility rule most recently here. (it uses the "object existence" plug-in as well as null-check all wrapped together in a nice general expression rule.) I stand by my assertion that this really does require the use of a plug-in (at least for a solution that doesn't cause an error to be thrown).