Include a link to workflow results on failure notifications et. al
B
Blue Opossum
Specific instance in my case is a failed onboarding work flow. The note left in autotask just says to go check workflow results becuase there was a failure. If its possible to include a direct link to the results of the workflow that would save <so much time and headache>
Log In
C
Charcoal Fish
You can make this in your completion handler. I do a post body in the ticket with:
{%- if CTX.workflow_details -%}
Workflow Name
: {{ CTX.workflow_details.workflow_name }}Ran By
: {{ CTX.workflow_details.workflow_user }}Workflow ID
: {{ CTX.workflow_details.workflow_id }}Workflow URL
: {{ CTX.workflow_details.workflow_appurl }}/organizations/{{ CTX.workflow_details.workflow_orgid }}/workflows/{{ CTX.workflow_details.workflow_id }}Workflow Results URL
: Workflow Results URL
: https://app.rewst.io/organizations/{{ COMPLETED_WORKFLOW.ORG.ATTRIBUTES.id }}/results/{{ COMPLETED_WORKFLOW.execution_id }}Workflow Output
: {{ CTX.workflow_details.workflow_output }}
{%- else -%}
Workflow Name
: {{ COMPLETED_WORKFLOW.WORKFLOW.name }} Ran By
: {{ COMPLETED_WORKFLOW.USER.username }} Workflow ID
: {{ COMPLETED_WORKFLOW.workflow_id}} Workflow URL
: https://app.rewst.io/organizations/{{ COMPLETED_WORKFLOW.ORG.ATTRIBUTES.id }}/workflows/{{ COMPLETED_WORKFLOW.workflow_id }} Workflow Results URL
: https://app.rewst.io/organizations/{{ COMPLETED_WORKFLOW.ORG.ATTRIBUTES.id }}/results/{{ COMPLETED_WORKFLOW.execution_id }} {%- endif -%}
B
Blue Opossum
Charcoal Fish Thanks for the input! I could certainly use this in my own listener workflows or modify the built in crates by de-syncing them. However, I this specific suggestion was made to improve built-in crates used enmass by less custom-code oriented customers.
The people relying on built in crates likely need the most help tracking down logs when troubleshooting and this could save ROC a lot of time as well!
K
Kryptonite green Kiwi
with our volume right now, this would be hUge