最近搜索


没有最近搜索

Ticket event not working(Attachment Redacted from Comment)



已于 2024年2月27日 发布

Attachment Redacted from Comment event link: https://developer.zendesk.com/api-reference/integration-services/trigger-events/ticket-events/#attachment-redacted-from-comment

When clicking the Redact button, I need to restrict the agent.



code:

 client.on('ticket.AttachmentRedactedFromComment', () => {
          console.log('it was triggered ------------------ attachment redacted from comment' );
          const errorMessage = `Ticket not saved!`
          return true? errorMessage: true;
        });

This is the code I am using to restrict the agent from deleting (redacting) the attachment. The event is not working (ticket.AttachmentRedactedFromComment). 

Thanks in advance.

1

2

2 条评论

Hi Team, 

Is there any update?

1


image avatar

Christopher Kennedy

Zendesk Developer Advocacy

Hi Bala,
 
The event you referenced is not an Apps Framework event.  So there isn't a way to prevent redaction from within UI when the agent has permission to do so.  To restrict agents' ability to redact ticket content, you can either:
 

0


请先登录再写评论。

找不到所需的内容?

新建帖子