09 February 2018
I am wondering, can you give us a simple example on how to access these registration parameters in the script code.
I am trying to do something like this, but I have my script located under Event Handers (After export completed), so the action triggers automatically after export is done. But it seems that I cannot access these parameters from here, by doing, for example:
senderEmail = Batch.Properties.Get("fc_Predefined:EmailSender")
I also tried by adding an custom stage in the workflow, after export and before processed, but even when my code is valid, the email is never sent.
A simple line or 2 lines of code example on how to get this parameter would be very useful.
Many thanks in advance.