Hello,
Unfortunately I do not have access to Clover Server (reasons above my pay grade) so I was tasked with mimicking those actions in a CustomJavaComponent (or whatever this would be more suitable for).
Pretty much on completion of specific graphs that I have, I need to execute a shell script. This is what I need to do (I know it is extremely re-inventing the wheel) but I hope someone has done this or come across something like this.
Thank you!
Hello!
To address your questions one by one:
1. An easier option than using the CustomJavaComponent would be to utilize the SystemExecute component which will allow you to run system commands from the CloverDX Designer. For further information please refer to our Documentation website: https://doc.cloverdx.com/latest/designe … ecute.html
2. The EmailSender component can be used to send an email from a graph. The logic of this component is to send an email per each record that is sent to the component through an edge, which means that if you only want to send one email once a graph has finished running, the graph needs to be built in such a way to only pass one input record (Success/Failure) to the EmailSender component. You can use the Denormalizer component to create a condition based on which a Success/Failure record can be generated.
Please review and let me know if you have any further questions!
Best regards