I am building a java project where i am using command line ui.vision in code to launch a macro through process builder. Is there any way to track the macro execution completion so that success logs of macro execution comes only when the macro actually completes running and that too successfully? or failure logs if macro did not complete its execution or it failed in its task? If i create a post api in my backend where i want to send the result of macro successful completion and make that macro hit the api with the result, will that work? If there are any better suggestions, do tell.