이 페이지는 AI로 자동 번역되었으며 부정확한 내용이 포함될 수 있습니다. 번역 오류를 신고하려면 GitHub에서 이슈를 생성해 주세요.
연결된 콘텐츠 중단하기
When you use Liquid templating, you have the option to abort messages with conditional logic. This page covers best practices when doing so.
다음 예제에서 connected.recommendations.size < 5 및 connected.foo.bar == nil 조건문은 메시지가 중단될 수 있는 상황을 지정합니다.
1
2
3
4
{% connected_content https://example.com/webservice.json :save connected %}
{% if connected.recommendations.size < 5 or connected.foo.bar == nil %}
{% abort_message() %}
{% endif %}
Specify an abort reason
중단 사유를 지정할 수도 있으며, 이 사유는 메시지 활동 로그에 저장됩니다. 이 중단 사유는 문자열이어야 하며 리퀴드를 포함할 수 없습니다.
{% abort_message('Could not get enough recommendations') %}
important:
Braze doesn’t count aborted messages toward the send count in your Braze account or in Currents.
New Stuff!
GitHub 에서 이 페이지를 편집합니다.