In our logic we are checking if there is any new items present in the queue to be processed. If not present then we don’t execute the InitAllApplications workflow.
And then it goes to the End state where we have all close applications logic. But as there is no applications opened it doesn’t find anything to close and throws exception.
So where to put the close all applications file.