---
title: Creating, and then, Closing the Ticket
slug: pink/creating-and-then-closing-the-ticket
description: Learn how to configure the creation and closing of tickets simultaneously for non-SLA activities in this document. Choose between importing a pre-registered script or copying the script content to define the desired flow. Please be aware that information 
docTags: 
createdAt: 2021-10-27T20:28:05.000Z
---

For activities that do not require an SLA, where the attendant only wishes to&#x20;formalize the request and execution of the activity, it is possible to <font color="#3b9f0f">**configure for the creation and closing of the ticket at the same time**</font>.

## Procedure

It is possible to define the creation and close flow in two different ways:

- ****<font color="#3b9f0f">**1st Way - Import flow**</font>**:** it is possible to import the flow with a script already registered. Download the attachment "**JSON Flow**" and access the flow  &#x20;functionality (`Workflow > Flow Design`), click on "**New**", then click on  &#x20;"**Import**" and select the option "**JSON**". Upload the attachment and click on  &#x20;"**Import**". Then, to verify the script, click on the tab "**Diagram**" and on the task  &#x20;icon, next, click on "**Input Action**";
- ****<font color="#3b9f0f">**2nd Way - Copy the script**</font>**:&#xA0;**&#x74;o copy only the script, copy the attachment "**Script**" content and access the functionality flow (`Workflow > Flow Design`),  &#x20;click on "**New**" and complete the field necessary. Then, click on the tab  &#x20;"**Diagram**", design the flow about the creation and closure of a task, select and  &#x20;click on this task (small gray box next to the task), and in the tab "**Input  &#x20;Action**". It is necessary to copy the RhinoScript in the expressions builder and  &#x20;click on "**Build Expressions**" and select the register expression.

:::hint{type="info"}
🖊 <u>**Note**</u>**:&#x20;**&#x4E;o controls have been implemented for catch information because the time&#x20;of attendance and closing of the ticket is very short, if it is necessary to&#x20;do the same, it will be necessary to implement the registration of the&#x20;information in the capture tables.
:::

