Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more Handlebars template variables to QSEoW failed reload task alert emails/Slack/Teams/... #1250

Closed
mountaindude opened this issue Oct 1, 2024 · 0 comments · Fixed by #1192 or #1269 · May be fixed by #1307
Closed

Add more Handlebars template variables to QSEoW failed reload task alert emails/Slack/Teams/... #1250

mountaindude opened this issue Oct 1, 2024 · 0 comments · Fixed by #1192 or #1269 · May be fixed by #1307

Comments

@mountaindude
Copy link
Collaborator

mountaindude commented Oct 1, 2024

Add Handlebars template variables

  • appUrl

  • appDescription: reloadParams.qs_appMetadata?.description,

  • appFileSize: reloadParams.qs_appMetadata?.fileSize,

  • appLastSuccessfulReload: reloadParams.qs_appMetadata?.lastReloadTime,

  • appLastModifiedDate: reloadParams.qs_appMetadata?.modifiedDate,

  • appLastModifiedByUserName: reloadParams.qs_appMetadata?.modifiedByUserName,

  • appPublishTime: reloadParams.qs_appMetadata?.publishTime,

  • appPublished: reloadParams.qs_appMetadata?.published,

  • appStreamName: reloadParams.qs_appMetadata?.stream,

  • appCustomProperties: reloadParams.qs_appCustomProperties,

  • appTags: reloadParams.qs_appTags,

  • taskCustomProperties: reloadParams.qs_taskCustomProperties,

  • taskTags: reloadParams.qs_taskTags,

  • taskIsManuallyTriggered: reloadParams.qs_taskMetadata.isManuallyTriggered,

  • taskIsPartialReload: reloadParams.qs_taskMetadata.isPartialReload,

  • taskMaxRetries: reloadParams.qs_taskMetadata.maxRetries,

  • taskModifiedByUsername: reloadParams.qs_taskMetadata.modifiedByUserName,

  • taskModifiedDate: reloadParams.qs_taskMetadata.modifiedDate,

  • taskSessionTimeout: reloadParams.qs_taskMetadata.taskSessionTimeout,

  • taskNextExecution: reloadParams.qs_taskMetadata.operational.nextExecution,

and make these available for QSEoW failed/aborted/success reload task alerts sent as Teams, Slack and email.

@mountaindude mountaindude changed the title Add Handlebars template variables app description + link to app to QSEoW failed reload task alert emails/Slack/Teams Add more Handlebars template variables to QSEoW failed reload task alert emails/Slack/Teams/... Oct 2, 2024
mountaindude pushed a commit to mountaindude/butler that referenced this issue Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant