自行程序类似于触发器,因为两者都可定义修改工单属性的条件和操作,并可选择发送电邮通知给客户和支持人员。两者不同之处在于,自行程序是在设置或更新工单属性后发生时间时间时执行,而不是在创建或更新工单后立即执行。
管理员可以创建、编辑并管理默认和自定义的自行程序。
本文章涵盖以下主题:
更多信息:
创建自行程序
管理员可以如这里所示从零开始创建自行程序,或创建现有自行程序的副本以进行修改和使用(请参阅编辑和复制自行程序)。
在创建自行程序之前,请查看自行程序的 基本信息。您一次最多可有 500 个活跃的自行程序。每个自行程序必须小于 65kb。
添加自行程序的步骤
- 在管理中心,单击侧栏中的对象和规则 (
),然后选择业务规则 > 自行程序。
- 选择添加自行程序。
- 输入自行程序的标题。
- 为您的自行程序添加条件和操作(请参阅 自行程序条件和操作参考)。
一个自行程序由三部分组成:
- 运行自行程序需满足的条件
- 满足条件时执行的操作
- 至少以下一项:一个在满足条件后取消条件的操作,或者一个只能为 true 一次的条件(请参阅确保您的自行程序仅运行一次)
- 单击 “预览匹配条件” 以测试您的自行程序,以预览匹配您指定条件的工单。
这将列出匹配您指定条件的工单。自行程序不会对您预览中列出的任何已关闭工单产生影响。有关更多信息,请参阅了解自行程序何时运行。
- 单击创建自行程序保存新的自行程序。
编辑和复制自行程序
您可以编辑和复制自行程序。复制自行程序会创建一个副本,您可以修改该副本并将其用于其它目的。
编辑自行程序的步骤
- 在管理中心,单击侧栏中的对象和规则 (
),然后选择业务规则 > 自行程序。
- 找到您要编辑的自行程序。
- 将光标悬停在自行程序上以显示选项菜单图标 (
),然后单击图标并从选项菜单中选择编辑。
- 根据需要修改标题、条件和操作。
- 选择更新并提交更改。
您可以创建现有自行程序的副本,在其基础之上创建新的自行程序。
复制自行程序的步骤
- 在管理中心,单击侧栏中的对象和规则 (
),然后选择业务规则 > 自行程序。
- 找到您要复制的自行程序。
- 将光标悬停在自行程序上以显示选项菜单图标 (
),然后单击图标并从选项菜单中选择复制。
- 为您的自行程序输入一个新名称,并根据需要修改条件和操作。请注意,所有活跃的自行程序可以有一些重叠的条件,但不能完全相同。
- 单击创建自行程序。
对您的自行程序重新排序
您可以对自行程序重新排序,但请记住,您的自行程序顺序很重要,因为所有自行程序(从头到尾)每小时都会运行一次。一个自行程序中的操作可能会影响另一个自行程序中的操作。
对自行程序列表重新排序
- 在管理中心,单击侧栏中的对象和规则 (
),然后选择业务规则 > 自行程序。
- 打开活跃的自行程序列表顶部的选项菜单图标 (
),然后单击对页面重新排序。
- 根据需要单击并拖动自行程序到新的位置。
- 单击保存。
删除和取消激活自行程序
如果您决定不再需要一个自行程序,可以将其删除或取消激活。删除以后无法恢复。如果以后还可能需要,可以改为取消激活自行程序。已取消激活的自行程序在自行程序页面上列在单独的表格中,可以根据需要重新激活。
删除自行程序的步骤
- 在管理中心,单击侧栏中的对象和规则 (
),然后选择业务规则 > 自行程序。
- 找到您要删除的自行程序。
- 将光标悬停在自行程序上以显示选项菜单图标 (
),然后单击图标并从选项菜单中选择编辑。
- 从页面底部的操作菜单中选择删除,然后单击提交。
取消激活/激活自行程序的步骤
- 在管理中心,单击侧栏中的对象和规则 (
),然后选择业务规则 > 自行程序。
- 找到您要取消激活的自行程序。
- 将光标悬停在自行程序上以显示选项菜单图标 (
),然后单击图标并从选项菜单中选择取消激活。
自行程序随即取消激活,并显示在非活跃的自行程序列表中。
- 要重新激活该自行程序,请从非活跃的自行程序列表中选择它,并从选项菜单中选择激活。
翻译免责声明:本文章使用自动翻译软件翻译,以便您了解基本内容。 我们已采取合理措施提供准确翻译,但不保证翻译准确性
如对翻译准确性有任何疑问,请以文章的英语版本为准。
14 条评论
Jacob the Moderator
Glad I could help 6850669604250!
And welcome to the community! This is a great place to seek help should you need that when implementing, optimizing, or otherwise making changes to your Zendesk instance.
0
Justin Brooks
Hey 1263169425010,
That's exactly what we needed. Thank you!
1
Jacob the Moderator
Hi Justin,
Schedules allow you to define your opening hours, and triggers have conditions to detect if a ticket is received within or outside of those hours. This allows you to send targeted responses to set expectations with the requester, and if you want to, you could add additional complexity to the opening hours as well.
https://support.zendesk.com/hc/en-us/community/posts/6749613539354-Trigger-an-action-based-on-ticket-creation-date/comments/6751437113242
I hope that helps.
1
Justin Brooks
Could we get an answer to 1265671581029's question? We are looking at switching to Zendesk, and this is the #1 priority for me to figure out before we switch. Time-based automations based on when a ticket is submitted is extremely high priority for my company.
0
Jacob the Moderator
Hi 6634245619226
This is usually achieved based on a time-since pending condition, and often as part of a bump-solve flow, like the one detailed here:
Workflow recipe: Sending automated ticket reminders to customers.
Hope this helps you out.
0
Cecilia Chen
Hello,
We would like to set up an automation that could close the ticket only if our customer does not reply to us in a period. It has to make sure that the last update is from an agent, not our customer, how do I set up the condition? thx
0
Christine
There is no pre-built metric that captures Automation usage in the Explore datasets. As an alternative, you can add another action on your Automation that adds a tag on the ticket whenever it fires, and you can make a report based on the tag.
Another option is you utilize the API to obtain trigger data usage within specific time ranges. For more information, see the article: Is it possible to get usage data on macros, triggers, and automation?
0
Igneshkumar Patel
Hi There,
I was wondering if there is a way possible to extract a report with list of case details which sent emails based on a specific automatic - Can this be achieved?
Please advise.
Thanks.
Ignesh.
0
Hiedi Kysther
Hi 4870953701018,

Automations are time-based business rules. Based on your target workflow, I would suggest using Trigger instead. Here's an example configuration you could use:
Hope this helps!
0
Omman
I'd like to set an automation to automatically change ticket status to a custom ticket status called 'Jira Created' as soon as a user creates or links a jira ticket.
I am using jira_escalated tag for the trigger but its not working. Any insight?
0
登录再写评论。