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.
Role required: admin. |
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:
If you create a URL action manually, then you need to add the value of the key field after "/url-action/run?key=" in URL to get a correct, fully functional URL action. |
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.