Checking if an Object is NullLast Updated: 05/02/2018 Introduced in Version: 2.0
The Object Is Null component checks whether a given input is “null,” or non-existent. Based on its determination, the component returns a “True” outcome if the input is null, or a “False” outcome if the input object(s) exist.
To add the component to a flow, in the Toolbox panel, in the category Data, drag an Object is Null component to the workspace.
To start building the flow, in the Flow Designer’s startup window, under the category Integrations > All Integrations > Internal Services > FolderService, we select a GetByID component and click Add to add it to the workspace. This component retrieves a folder by its unique ID to be used as input for our Object is Null component.
In a production scenario, we’d likely direct our flow to two very different outcomes, depending on which value Object Is Null 1 returns. For the purposes of this example, however, connect both the True and False outcomes to the End Step.
Inside the Mapping Editor, we will map GetByID1_Output to value, then click OK to save our change and return to the Flow Designer.
Our flow is complete.
When we run it in the debugger, Object Is Null 1 identifies the output GetByID1_Output as a null object and returns a “True” outcome, listed in the Events tab (“outcome: True”)