Web UI

HOWTO: Insert a User Action

Updated: March 18, 2024

In this tutorial you will learn how to insert a user action on your instance using Studio Designer, to easily validate documents.

Requirements

Create an Automation Chain

On Modeler side:

  1. Go on Configuration > Automation and then on Automation Chains.
  2. Click on the New button.
  3. Give your automation chain an ID validateDocument and click on the Next button.
    The automation chain editor is displayed. The Fetch > Context Document(s) is automatically added as the first operation of the chain.
  4. Drag and drop the operation Document > Follow Life Cycle Transition and set the transition as approve.
  5. Click on Save.

    You should end up with something like this:

Bind the Action to an Element

Now that your automation chain is ready, you will need to bind it to an action.

On Studio Designer, go on the UI tab:

  1. In Actions, click on the Create button.
  2. Fill in the creation form as shown below:
  3. Fill in the Filters section as shown below:
    Only the users who have Manage Everything permission will see the button.
  4. Save your changes and deploy your project.

    You should end up with something like this:

On a Contract document type that you want to validate (change status from Project to Approved) click on your brand new Validate button and refresh your page, your contract is approved! The button disappeared as the status has changed.