{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":9927,"path":"employee-service-management/employee-experience-foundation/configure-close-condition.md","title":"Configure close condition","bundle":null,"doc_type":null,"release":"australia","body":"\n# Configure close condition\n\nConfigure the condition to exclude the chat conversation from auto importing.\n\n## Before you begin\n\nRole required: admin\n\n## About this task\n\nWhen a ticket is set to inactive, the system does one final poll for any messages in the chat, removes the participants such that no further messages about the ticket can be exchanged in the chat, and then stops polling that chat. This is determined by the \"active\" field on a table being set to \"false\".\n\nFor any table with an active field, this behavior works automatically. If your custom application does not use an \"active\" field for determining whether the ticket remains active, define an alternate condition that can be used to denote the ticket as being closed or inactive.\n\nAlternately, to adhere to platform standards, consider adding an active field to your custom application and maintaining the state of that field in accordance with the business logic of your application.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **ServiceNow for Microsoft 365** &gt; **Chat Administration** &gt; **Close Conditions**.\n\n2.  Click **New**.\n\n3.  On the form, fill in the fields.\n\n    |Field|Description|\n    |:----|:----------|\n    |Table|Option to select a table to which the requester mapping \\(auto-import feature\\) should be applicable.|\n    |Inherit|Extend and apply the auto-import feature to the child tables.|\n    |Active|Option to activate the requester-mapping record.|\n    |Close conditions|Condition builder to define a condition that the record is closed.|\n\n4.  Click **Submit**.\n\n    **Note:**\n\n    If you are creating a close condition for a new table, ensure to create business rule for close condition. For more information, refer [Configure business rule for close condition](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/employee-service-management/employee-experience-foundation/business-rule-close-condition.md).\n\n\n**Parent Topic:**[Configure Request-based chats to import messages from Microsoft Teams to ServiceNow](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/employee-service-management/employee-experience-foundation/auto-import-messages.md)\n\n"}}