Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The URL action is the link used to execute any server-side script that was put down when creating this link.

The link stores the date inside, when it expired, the link stops working. The URL action works once and then deactivated.

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

Managing URL actions


Note

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:

  1. Navigate to the System Definition → URL Actions;
  2. Click New, fill in the form, and then click Save.
Note

If you're creating 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.

URL actions form fields

FieldDescription
KeyThe hash used as a keyword in the URL and for a database search after the link has been visited.
ScriptThis server-side script will execute after the link has been followed. You can use server-side SimpleOne API there.
ActiveTurn this checkbox on if you need this action to be active.
Expire atEnter script expiration date and time.
Assigned toThe user who is assigned for the action.
ExecutorThe 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.

Table of Contents
absoluteUrltrue
classfixedPosition