Skip to main content
Version: 1.20.1

URL Actions

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) table, in the Expire at field. When that date comes, the URL expires and stops working.

It logs the user who has followed the link and executed the script.

Manage a URL action


tip

Role required: admin.

To create a URL action, use the ss.generateUrlAction API method.

URL action can also be created via the SimpleOne interface. To do so, complete the following steps:

  1. Navigate to the System Settings → URL Actions.
  2. Click New and fill in the fields.
  3. Click Save or Save and exit to apply the changes.
caution

If you create a URL action manually, add the value of the Key field after "/url-action/run?key=" in URL to get a correct, fully functional URL action.

URL Action form fields

FieldMandatoryDescription
KeyNSpecify a hash that is used as a keyword in the URL and for database search after the link is visited.
ActiveNSelect this checkbox to activate the action.
ScriptYSpecify a script that is executed after the link is followed. You can use server-side API.
Expire atYEnter the script expiration date and time.
Assigned toYSpecify a user assigned for the action.
ExecutorNSpecify a user that executes the action.

You can modify an existing URL action in the same way by clicking on the value in the Key column.