The URL action is the link used to execute any server-side script that was put down when creating this link.
The URL action expiration date is stored in the URL action (sys_url_action) dictionary, in the Expire at field. When that date comes, the URL becomes expired and stops working.
It logs the user who has followed the link and executed the script.
Managing URL actions
To create a URL action, you can use ss.generateUrlAction API method.
Also, URL action can be created via the SimpleOne interface. To do this, please perform the following steps:
- Navigate to the System Settings → URL Actions.
- Click New and fill in the fields.
- Click Save or Save and Exit to apply changes.
Field | Mandatory | Description |
---|
Key | N | The hash used as a keyword in the URL and for a database search after the link has been visited. |
Active | N | Turn this checkbox on if you need this action to be active. |
Script | Y | This server-side script will execute after the link has been followed. You can use server-side SimpleOne API there. |
Expire at | Y | Enter script expiration date and time. |
Assigned to | Y | The user who is assigned for the action. |
Executor | N | The user who has executed the action. |
You can modify an existing URL action in a similar way, clicking on the value in the Key column.