I'd like the ability to run a command based on whether or not a send has finished properly. Ultimately I'd like to ping a webhook with information that a send has not worked.
It could take the following form:
org.znapzend:pre_zend_cmdorg.znapzend:post_zend_cmd
For me only post_zend_cmd would be used. I actually can't think of a reason I need pre_zend_cmd. I'm only including it because there is one for znaps.
Both commands would automatically import environment variables that contain the status of the send.
Environment variables to be included could be:
zend_state: a boolean or set of known values that can be used to know the state of a send for a particular dataset.
zend_source: the source dataset.
zend_destination: where the dataset was being sent to. (e.g. org.znapzend:dst_0)
zend_error: whatever the issue was. Empty if send ok.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'd like the ability to run a command based on whether or not a send has finished properly. Ultimately I'd like to ping a webhook with information that a send has not worked.
It could take the following form:
org.znapzend:pre_zend_cmd
org.znapzend:post_zend_cmd
For me only
post_zend_cmd
would be used. I actually can't think of a reason I needpre_zend_cmd
. I'm only including it because there is one forznaps
.Both commands would automatically import environment variables that contain the status of the send.
Environment variables to be included could be:
zend_state
: a boolean or set of known values that can be used to know the state of a send for a particular dataset.zend_source
: the source dataset.zend_destination
: where the dataset was being sent to. (e.g. org.znapzend:dst_0)zend_error
: whatever the issue was. Empty if send ok.