{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":22206,"path":"integrate-applications/system-import-sets/define-action-properties.md","title":"Define action properties","bundle":null,"doc_type":null,"release":"australia","body":"\n# Define action properties\n\nCreate and configure a Data Source request action in Integration Hub. After the request action is published in Integration Hub, you can choose it as a **Request action** in the Data Source record.\n\n## Before you begin\n\nRole required: import\\_admin\n\n## Procedure\n\n1.  Navigate to **All** &gt; **System Import Sets** &gt; **Administration** &gt; **Data Sources**.\n\n2.  Select **New**.\n\n3.  Select a **Type** of **REST \\(IntegrationHub\\)**.\n\n4.  Click the link under **Request action**.\n\n5.  Complete the form.\n\n    |Field|Description|\n    |-----|-----------|\n    |Name|Name of the request action.|\n    |Accessible From|Scope from which the request action is accessible.|\n    |Category|Category of the request action.|\n    |Protection|Specifies whether the request action is read-only.|\n    |Description|Description of the request action.|\n    |Application|Scope of the application.|\n    |In-Flow Annotation|Text you want to appear under the **Action** title on the Data Source Request Action page.|\n\n6.  Click **Submit**.\n\n7.  The Data Source Request Action page appears with the following fields:\n\n    |Field|Description|\n    |-----|-----------|\n    |Limit|Limit set by the user in the REST \\(IntegrationHub\\) data source record. If the REST API supports pagination and **Support pagination** is selected in the Data Source record, you must supply this input to your REST step.|\n    |Offset|Offset set by user in the REST \\(IntegrationHub\\) data source record. If the REST API supports pagination and **Support pagination** is selected in the Data Source record, you must supply this input to your REST step.|\n    |Last Success Import Time|Last time data was successfully imported. A numeric value representing the number of milliseconds since January 1, 1970, 00:00:00 GMT. The data source populates this value. If the REST API supports queries based on time, you must supply this input to your REST step.|\n    |Import Start Time|Time the import is actually started. A numeric value representing the number of milliseconds since January 1, 1970, 00:00:00 GMT. The data source populates this value. If the REST API supports queries based on time, you must supply this input to your REST step.|\n\n8.  If desired, you can add a Script step to validate or modify action inputs, set default values, or build request payloads before executing the REST step.\n\n    1.  Select **Data Source Request** from the Action Outline.\n\n    2.  Select **Enable Processing Script**.\n\n    3.  Select **Script step** from the Action Outline.\n\n    4.  Configure the Script step as described in [Script step](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/javascript-step-action-designer.md).\n\n9.  Select **REST step** from the Action Outline.\n\n10. Configure the REST step as described in [REST step](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/rest-request-action-designer.md).\n\n11. Choose from the following:\n\n    -   Click **Properties** to return to the Action Properties window.\n    -   Click **Test** to test the request action before publishing it.\n    -   Click **Executions** to view the history of executions of the request action.\n    -   Click **Save** to save the request action.\n    -   Click **Publish** to publish the request action and make it available for use.\n\n**Parent Topic:**[Create a REST \\(Integration Hub\\) type data source](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/system-import-sets/create-rest-type-data-source.md)\n\n"}}